Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 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_BLUE_BUTTON_H_ | |
| 6 #define UI_VIEWS_CONTROLS_BUTTON_BLUE_BUTTON_H_ | |
| 7 | |
| 8 #include <string> | |
|
tfarina
2013/05/24 16:17:51
remove, unused.
benwells
2013/05/27 06:53:59
Done.
| |
| 9 | |
| 10 #include "base/compiler_specific.h" | |
| 11 #include "base/string16.h" | |
| 12 #include "ui/views/controls/button/label_button.h" | |
| 13 | |
| 14 namespace views { | |
| 15 | |
| 16 // A native themed class representing a blue button. | |
|
msw
2013/05/24 16:14:28
native themed? I'm not sure what you mean.
tfarina
2013/05/24 16:17:51
looks like copied-paste typo. Because it is asset
benwells
2013/05/27 06:53:59
Oops fixed.
benwells
2013/05/27 06:53:59
Comment updated.
| |
| 17 class VIEWS_EXPORT BlueButton : public LabelButton { | |
| 18 public: | |
| 19 static const char kViewClassName[]; | |
| 20 | |
| 21 explicit BlueButton(ButtonListener* listener, const string16& text); | |
|
tfarina
2013/05/24 16:17:51
no explicit
tfarina
2013/05/24 16:17:51
base::string16
benwells
2013/05/27 06:53:59
Done.
benwells
2013/05/27 06:53:59
Done.
| |
| 22 virtual ~BlueButton(); | |
| 23 | |
| 24 protected: | |
| 25 // Overridden from LabelButton: | |
| 26 virtual const char* GetClassName() const OVERRIDE; | |
|
tfarina
2013/05/24 16:17:51
does this needs to be protected?
benwells
2013/05/27 06:53:59
Made private.
| |
| 27 | |
| 28 private: | |
| 29 virtual const ui::Animation* GetThemeAnimation() const OVERRIDE; | |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(BlueButton); | |
| 32 }; | |
| 33 | |
| 34 } // namespace views | |
| 35 | |
| 36 #endif // UI_VIEWS_CONTROLS_BUTTON_BLUE_BUTTON_H_ | |
| OLD | NEW |