Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: ui/views/controls/button/blue_button.h

Issue 14631022: Add support for blue buttons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/resources/ui_resources.grd ('k') | ui/views/controls/button/blue_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/blue_button.h
diff --git a/ui/views/controls/button/blue_button.h b/ui/views/controls/button/blue_button.h
new file mode 100644
index 0000000000000000000000000000000000000000..09bc9d0f260c7d818e7739bc238111799bf63f23
--- /dev/null
+++ b/ui/views/controls/button/blue_button.h
@@ -0,0 +1,32 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_CONTROLS_BUTTON_BLUE_BUTTON_H_
+#define UI_VIEWS_CONTROLS_BUTTON_BLUE_BUTTON_H_
+
+#include "base/compiler_specific.h"
+#include "base/string16.h"
+#include "ui/views/controls/button/label_button.h"
+
+namespace views {
+
+// A class representing a blue button.
+class VIEWS_EXPORT BlueButton : public LabelButton {
+ public:
+ static const char kViewClassName[];
+
+ BlueButton(ButtonListener* listener, const base::string16& text);
+ virtual ~BlueButton();
+
+ private:
+ // Overridden from LabelButton:
+ virtual const char* GetClassName() const OVERRIDE;
+ virtual const ui::Animation* GetThemeAnimation() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(BlueButton);
+};
+
+} // namespace views
+
+#endif // UI_VIEWS_CONTROLS_BUTTON_BLUE_BUTTON_H_
« no previous file with comments | « ui/resources/ui_resources.grd ('k') | ui/views/controls/button/blue_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698