* 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:
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:
float pull_distance_;
- float dpi_scale_;
-
DISALLOW_COPY_AND_ASSIGN(EdgeEffect);
};