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

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

Issue 2851543002: Update avatar button to MD (part 1) (Closed)
Patch Set: More review changes 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/controls/button/label_button.h
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h
index 91b68faae2c37147351035d90e958e71c7bf733a..679f6484b08e915542540cedb3e01256503a5e57 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -158,6 +158,10 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
explicitly_set_colors_ = colors;
}
+ // Returns true if the CreateInkDrop*() methods should create flood fill ink
+ // drop components.
+ virtual bool UseFloodFillInkDrop() const;
Evan Stade 2017/05/02 15:49:20 nit: rearrange ordering in .cc file to match new o
emx 2017/05/03 17:10:59 Done.
+
private:
void SetTextInternal(const base::string16& text);
@@ -183,10 +187,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_;

Powered by Google App Engine
This is Rietveld 408576698