| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ | 5 #ifndef VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ |
| 6 #define VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ | 6 #define VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ |
| 7 | 7 |
| 8 #include "skia/include/SkBitmap.h" | 8 #include "third_party/skia/include/core/SkBitmap.h" |
| 9 #include "views/controls/button/custom_button.h" | 9 #include "views/controls/button/custom_button.h" |
| 10 | 10 |
| 11 namespace views { | 11 namespace views { |
| 12 | 12 |
| 13 // An image button. | 13 // An image button. |
| 14 class ImageButton : public CustomButton { | 14 class ImageButton : public CustomButton { |
| 15 public: | 15 public: |
| 16 explicit ImageButton(ButtonListener* listener); | 16 explicit ImageButton(ButtonListener* listener); |
| 17 virtual ~ImageButton(); | 17 virtual ~ImageButton(); |
| 18 | 18 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // The parent class's tooltip_text_ is displayed when not toggled, and | 92 // The parent class's tooltip_text_ is displayed when not toggled, and |
| 93 // this one is shown when toggled. | 93 // this one is shown when toggled. |
| 94 std::wstring toggled_tooltip_text_; | 94 std::wstring toggled_tooltip_text_; |
| 95 | 95 |
| 96 DISALLOW_EVIL_CONSTRUCTORS(ToggleImageButton); | 96 DISALLOW_EVIL_CONSTRUCTORS(ToggleImageButton); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace views | 99 } // namespace views |
| 100 | 100 |
| 101 #endif // VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ | 101 #endif // VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ |
| OLD | NEW |