OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MD_TEXT_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_MD_TEXT_BUTTON_H_ |
6 #define UI_VIEWS_CONTROLS_BUTTON_MD_TEXT_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_MD_TEXT_BUTTON_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include <memory> |
| 9 |
9 #include "ui/views/animation/button_ink_drop_delegate.h" | 10 #include "ui/views/animation/button_ink_drop_delegate.h" |
10 #include "ui/views/controls/button/label_button.h" | 11 #include "ui/views/controls/button/label_button.h" |
11 | 12 |
12 namespace views { | 13 namespace views { |
13 | 14 |
14 // A button class that implements the Material Design text button spec. | 15 // A button class that implements the Material Design text button spec. |
15 class VIEWS_EXPORT MdTextButton : public LabelButton { | 16 class VIEWS_EXPORT MdTextButton : public LabelButton { |
16 public: | 17 public: |
17 // Describes the presentation of a button. A stronger call to action draws | 18 // Describes the presentation of a button. A stronger call to action draws |
18 // more attention. | 19 // more attention. |
(...skipping 27 matching lines...) Expand all Loading... |
46 | 47 |
47 // The call to action style for this button. | 48 // The call to action style for this button. |
48 CallToAction cta_; | 49 CallToAction cta_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(MdTextButton); | 51 DISALLOW_COPY_AND_ASSIGN(MdTextButton); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace views | 54 } // namespace views |
54 | 55 |
55 #endif // UI_VIEWS_CONTROLS_BUTTON_MD_TEXT_BUTTON_H_ | 56 #endif // UI_VIEWS_CONTROLS_BUTTON_MD_TEXT_BUTTON_H_ |
OLD | NEW |