Chromium Code Reviews| Index: ui/views/controls/button/button.h |
| diff --git a/ui/views/controls/button/button.h b/ui/views/controls/button/button.h |
| index 0f1160b11f1c5563efb43f12ea17fb9fc0f4b8da..8b03be3c68e5548c780112cd074adf5962ab1fa3 100644 |
| --- a/ui/views/controls/button/button.h |
| +++ b/ui/views/controls/button/button.h |
| @@ -8,6 +8,7 @@ |
| #include "base/macros.h" |
| #include "ui/native_theme/native_theme.h" |
| #include "ui/views/view.h" |
| +#include "ui/views/widget/widget_observer_view.h" |
| namespace views { |
| @@ -26,7 +27,7 @@ class VIEWS_EXPORT ButtonListener { |
| // A View representing a button. Depending on the specific type, the button |
| // could be implemented by a native control or custom rendered. |
| -class VIEWS_EXPORT Button : public View { |
| +class VIEWS_EXPORT Button : public WidgetObserverView { |
|
sadrul
2016/01/28 17:45:06
We shouldn't do this, of course.
varkha
2016/01/28 20:09:19
Done.
|
| public: |
| ~Button() override; |