Chromium Code Reviews| 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_; |