| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_DELEGATE_BUTTON_H_ | |
| 6 #define UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_DELEGATE_BUTTON_H_ | |
| 7 | |
| 8 #include "third_party/skia/include/core/SkColor.h" | |
| 9 #include "ui/views/controls/button/button.h" | |
| 10 #include "ui/views/views_export.h" | |
| 11 | |
| 12 namespace views { | |
| 13 | |
| 14 // A ButtonListener that also provides a color to use for drawing an icon. | |
| 15 class VIEWS_EXPORT VectorIconButtonDelegate : public ButtonListener { | |
| 16 public: | |
| 17 virtual SkColor GetVectorIconBaseColor() const; | |
| 18 | |
| 19 protected: | |
| 20 ~VectorIconButtonDelegate() override {} | |
| 21 }; | |
| 22 | |
| 23 } // namespace views | |
| 24 | |
| 25 #endif // UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_BUTTON_DELEGATE_H_ | |
| OLD | NEW |