OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |