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

Side by Side Diff: ui/views/examples/native_theme_button_example.h

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_ 5 #ifndef UI_VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_
6 #define UI_VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_ 6 #define UI_VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 class NativeThemeButtonExample : public ExampleBase, public ButtonListener { 71 class NativeThemeButtonExample : public ExampleBase, public ButtonListener {
72 public: 72 public:
73 NativeThemeButtonExample(); 73 NativeThemeButtonExample();
74 virtual ~NativeThemeButtonExample(); 74 virtual ~NativeThemeButtonExample();
75 75
76 // Overridden from ExampleBase: 76 // Overridden from ExampleBase:
77 virtual void CreateExampleView(View* container) OVERRIDE; 77 virtual void CreateExampleView(View* container) OVERRIDE;
78 78
79 private: 79 private:
80 // Overridden from ButtonListener: 80 // Overridden from ButtonListener:
81 virtual void ButtonPressed(Button* sender, const Event& event) OVERRIDE; 81 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE;
82 82
83 ExampleNativeThemeButton* button_; 83 ExampleNativeThemeButton* button_;
84 84
85 scoped_ptr<ExampleComboboxModel> combobox_model_part_; 85 scoped_ptr<ExampleComboboxModel> combobox_model_part_;
86 scoped_ptr<ExampleComboboxModel> combobox_model_state_; 86 scoped_ptr<ExampleComboboxModel> combobox_model_state_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(NativeThemeButtonExample); 88 DISALLOW_COPY_AND_ASSIGN(NativeThemeButtonExample);
89 }; 89 };
90 90
91 } // namespace examples 91 } // namespace examples
92 } // namespace views 92 } // namespace views
93 93
94 #endif // UI_VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_ 94 #endif // UI_VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_
OLDNEW
« no previous file with comments | « ui/views/examples/message_box_example.cc ('k') | ui/views/examples/native_theme_button_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698