Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: ui/views/animation/ink_drop_mask.h

Issue 2832223003: Update profile switcher button on Linux. (Closed)
Patch Set: self review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/animation/ink_drop_mask.h
diff --git a/ui/views/animation/ink_drop_mask.h b/ui/views/animation/ink_drop_mask.h
index 347e54f0ffb88a0cdc897dc63a621a50e7089539..bb78f4e9ac2d99a70138556f598bc728e924bcc9 100644
--- a/ui/views/animation/ink_drop_mask.h
+++ b/ui/views/animation/ink_drop_mask.h
@@ -8,7 +8,7 @@
#include "base/macros.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_delegate.h"
-#include "ui/gfx/geometry/insets.h"
+#include "ui/gfx/geometry/insets_f.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/views_export.h"
@@ -47,14 +47,14 @@ class VIEWS_EXPORT InkDropMask : public ui::LayerDelegate {
class VIEWS_EXPORT RoundRectInkDropMask : public InkDropMask {
public:
RoundRectInkDropMask(const gfx::Size& layer_size,
- const gfx::Insets& mask_insets,
+ const gfx::InsetsF& mask_insets,
int corner_radius);
private:
// Overriden from InkDropMask:
void OnPaintLayer(const ui::PaintContext& context) override;
- gfx::Insets mask_insets_;
+ gfx::InsetsF mask_insets_;
int corner_radius_;
DISALLOW_COPY_AND_ASSIGN(RoundRectInkDropMask);

Powered by Google App Engine
This is Rietveld 408576698