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

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

Issue 2851543002: Update avatar button to MD (part 1) (Closed)
Patch Set: Merged ThemedAvatarButton and Win10NativeAvatarButton into the base AvatarButton class 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 91b68faae2c37147351035d90e958e71c7bf733a..5c0eed0d28cbc2029fd4bfd49930b82ca69266c0 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -151,6 +151,10 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// NativeThemeDelegate:
gfx::Rect GetThemePaintRect() const override;
+ // Returns true if the CreateInkDrop*() methods should create flood fill ink
+ // drop components.
+ virtual bool ShouldUseFloodFillInkDrop() const;
Peter Kasting 2017/05/06 02:23:09 Nit: Prefer to group virtual functions together, a
emx 2017/05/09 16:26:53 Done.
+
const std::array<bool, STATE_COUNT>& explicitly_set_colors() const {
return explicitly_set_colors_;
}
@@ -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