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

Unified Diff: ui/views/controls/button/label_button.h

Issue 1761443003: [MD] simplify and unify some ink drop center calculations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: works in rtl Created 4 years, 10 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/controls/button/label_button.h
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h
index eee771e79222b726ee2fa2dfb309279675a0893b..9d6b9d359309bd24096243302c925bd703b2f04d 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -105,6 +105,7 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override;
scoped_ptr<InkDropAnimation> CreateInkDropAnimation() const override;
scoped_ptr<InkDropHover> CreateInkDropHover() const override;
+ gfx::Point GetInkDropCenter() const override;
protected:
ImageView* image() const { return image_; }

Powered by Google App Engine
This is Rietveld 408576698