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

Unified Diff: ui/views/examples/button_example.h

Issue 11068012: Add new views::LabelButton and LabelButtonBorder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove stray semicolon. Created 8 years, 2 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/views/controls/label.h ('k') | ui/views/examples/button_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/button_example.h
diff --git a/ui/views/examples/button_example.h b/ui/views/examples/button_example.h
index 0e2535760d15f3be744636e6f9921a689620a7e6..58218cb3698eca40666a87719cbd223df56ea772 100644
--- a/ui/views/examples/button_example.h
+++ b/ui/views/examples/button_example.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/button/text_button.h"
#include "ui/views/examples/example_base.h"
@@ -26,11 +27,15 @@ class ButtonExample : public ExampleBase, public ButtonListener {
virtual void CreateExampleView(View* container) OVERRIDE;
private:
+ void TextButtonPressed(const ui::Event& event);
+ void LabelButtonPressed(const ui::Event& event);
+
// Overridden from ButtonListener:
virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE;
// Example buttons.
TextButton* text_button_;
+ LabelButton* label_button_;
ImageButton* image_button_;
// Values used to modify the look and feel of the button.
« no previous file with comments | « ui/views/controls/label.h ('k') | ui/views/examples/button_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698