| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_BORDER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_BORDER_H_ |
| 6 #define UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_BORDER_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_BORDER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "ui/gfx/insets.h" | 11 #include "ui/gfx/geometry/insets.h" |
| 12 #include "ui/views/border.h" | 12 #include "ui/views/border.h" |
| 13 #include "ui/views/controls/button/button.h" | 13 #include "ui/views/controls/button/button.h" |
| 14 #include "ui/views/painter.h" | 14 #include "ui/views/painter.h" |
| 15 | 15 |
| 16 namespace views { | 16 namespace views { |
| 17 | 17 |
| 18 // A Border that paints a LabelButton's background frame. | 18 // A Border that paints a LabelButton's background frame. |
| 19 class VIEWS_EXPORT LabelButtonBorder : public Border { | 19 class VIEWS_EXPORT LabelButtonBorder : public Border { |
| 20 public: | 20 public: |
| 21 explicit LabelButtonBorder(Button::ButtonStyle style); | 21 explicit LabelButtonBorder(Button::ButtonStyle style); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 46 Button::ButtonStyle style_; | 46 Button::ButtonStyle style_; |
| 47 | 47 |
| 48 gfx::Insets insets_; | 48 gfx::Insets insets_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(LabelButtonBorder); | 50 DISALLOW_COPY_AND_ASSIGN(LabelButtonBorder); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace views | 53 } // namespace views |
| 54 | 54 |
| 55 #endif // UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_BORDER_H_ | 55 #endif // UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_BORDER_H_ |
| OLD | NEW |