diff options
Diffstat (limited to 'chromium/content/browser/android/edge_effect.h')
-rw-r--r-- | chromium/content/browser/android/edge_effect.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chromium/content/browser/android/edge_effect.h b/chromium/content/browser/android/edge_effect.h index f47a9b1a0e9..b8febba22d2 100644 --- a/chromium/content/browser/android/edge_effect.h +++ b/chromium/content/browser/android/edge_effect.h @@ -21,6 +21,7 @@ namespace content { * resources directly, while this version simply applies the effect to * existing resources. Conscious tradeoffs were made to align this as closely * as possible with the original Android java version. + * All coordinates and dimensions are in device pixels. */ class EdgeEffect { public: @@ -43,7 +44,11 @@ public: void Finish(); bool IsFinished() const; - void ApplyToLayers(gfx::SizeF size, Edge edge); + void ApplyToLayers(gfx::SizeF window_size, + Edge edge, + float edge_height, + float glow_height, + float offset); private: @@ -79,8 +84,6 @@ private: float pull_distance_; - float dpi_scale_; - DISALLOW_COPY_AND_ASSIGN(EdgeEffect); }; |