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

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

Issue 2851543002: Update avatar button to MD (part 1) (Closed)
Patch Set: Fixed TODO comments Created 3 years, 7 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 5e3591472b2edec25c8b79f1e34abcbfa7d8198e..4661d20df5655663b26d4a9e70e723dc1b31522f 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -124,6 +124,10 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// Sets the font list used by this button.
virtual void SetFontList(const gfx::FontList& font_list);
+ // Returns true if the CreateInkDrop*() methods should create flood fill ink
+ // drop components.
+ virtual bool ShouldUseFloodFillInkDrop() const;
+
// View:
void OnPaint(gfx::Canvas* canvas) override;
void OnFocus() override;
@@ -185,10 +189,6 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// correct for the current background.
void ResetLabelEnabledColor();
- // Returns true if the CreateInkDrop*() methods should create flood fill ink
- // drop components.
- bool UseFloodFillInkDrop() const;
-
// The image and label shown in the button.
ImageView* image_;
Label* label_;
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698