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

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

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « ui/views/events/event.h ('k') | ui/views/examples/native_theme_button_example.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/gfx/native_theme.h" 10 #include "ui/gfx/native_theme.h"
11 #include "ui/views/controls/button/custom_button.h" 11 #include "ui/views/controls/button/custom_button.h"
12 #include "ui/views/controls/combobox/combobox_listener.h" 12 #include "ui/views/controls/combobox/combobox_listener.h"
13 #include "ui/views/examples/example_base.h" 13 #include "ui/views/examples/example_base.h"
14 #include "views/native_theme_delegate.h" 14 #include "ui/views/native_theme_delegate.h"
15 #include "views/native_theme_painter.h" 15 #include "ui/views/native_theme_painter.h"
16 16
17 namespace views { 17 namespace views {
18 class Combobox; 18 class Combobox;
19 class NativeThemePainter; 19 class NativeThemePainter;
20 20
21 namespace examples { 21 namespace examples {
22 22
23 // A subclass of button to test native theme rendering. 23 // A subclass of button to test native theme rendering.
24 class ExampleNativeThemeButton : public CustomButton, 24 class ExampleNativeThemeButton : public CustomButton,
25 public NativeThemeDelegate, 25 public NativeThemeDelegate,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // The only control in this test. 82 // The only control in this test.
83 ExampleNativeThemeButton* button_; 83 ExampleNativeThemeButton* button_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(NativeThemeButtonExample); 85 DISALLOW_COPY_AND_ASSIGN(NativeThemeButtonExample);
86 }; 86 };
87 87
88 } // namespace examples 88 } // namespace examples
89 } // namespace views 89 } // namespace views
90 90
91 #endif // UI_VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_ 91 #endif // UI_VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_
OLDNEW
« no previous file with comments | « ui/views/events/event.h ('k') | ui/views/examples/native_theme_button_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698