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

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

Issue 7196002: Fix checkbox in windows uninstaller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix trybot break in chromeos Created 9 years, 6 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) 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 VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_ 5 #ifndef VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_
6 #define VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_ 6 #define 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"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual gfx::NativeTheme::State GetThemeState( 49 virtual gfx::NativeTheme::State GetThemeState(
50 gfx::NativeTheme::ExtraParams* params) const OVERRIDE; 50 gfx::NativeTheme::ExtraParams* params) const OVERRIDE;
51 virtual const ui::Animation* GetThemeAnimation() const OVERRIDE; 51 virtual const ui::Animation* GetThemeAnimation() const OVERRIDE;
52 virtual gfx::NativeTheme::State GetBackgroundThemeState( 52 virtual gfx::NativeTheme::State GetBackgroundThemeState(
53 gfx::NativeTheme::ExtraParams* params) const OVERRIDE; 53 gfx::NativeTheme::ExtraParams* params) const OVERRIDE;
54 virtual gfx::NativeTheme::State GetForegroundThemeState( 54 virtual gfx::NativeTheme::State GetForegroundThemeState(
55 gfx::NativeTheme::ExtraParams* params) const OVERRIDE; 55 gfx::NativeTheme::ExtraParams* params) const OVERRIDE;
56 56
57 void GetExtraParams(gfx::NativeTheme::ExtraParams* params) const; 57 void GetExtraParams(gfx::NativeTheme::ExtraParams* params) const;
58 58
59 gfx::NativeTheme::State GetInternalState() const;
60
59 scoped_ptr<views::NativeThemePainter> painter_; 61 scoped_ptr<views::NativeThemePainter> painter_;
60 views::Combobox* cb_part_; 62 views::Combobox* cb_part_;
61 views::Combobox* cb_state_; 63 views::Combobox* cb_state_;
62 int count_; 64 int count_;
63 bool is_checked_; 65 bool is_checked_;
64 bool is_indeterminate_; 66 bool is_indeterminate_;
65 67
66 DISALLOW_COPY_AND_ASSIGN(ExampleNativeThemeButton); 68 DISALLOW_COPY_AND_ASSIGN(ExampleNativeThemeButton);
67 }; 69 };
68 70
(...skipping 16 matching lines...) Expand all
85 87
86 // The only control in this test. 88 // The only control in this test.
87 ExampleNativeThemeButton* button_; 89 ExampleNativeThemeButton* button_;
88 90
89 DISALLOW_COPY_AND_ASSIGN(NativeThemeButtonExample); 91 DISALLOW_COPY_AND_ASSIGN(NativeThemeButtonExample);
90 }; 92 };
91 93
92 } // namespace examples 94 } // namespace examples
93 95
94 #endif // VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_ 96 #endif // VIEWS_EXAMPLES_NATIVE_THEME_BUTTON_EXAMPLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698