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

Side by Side Diff: webkit/tools/test_shell/test_shell_webthemecontrol.h

Issue 2876036: Implement indeterminate checkbox for the generic theme.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell_webthemecontrol.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // TestShellWebTheme::Control implements the generic rendering of controls 5 // TestShellWebTheme::Control implements the generic rendering of controls
6 // needed by TestShellWebTheme::Engine. See the comments in that class 6 // needed by TestShellWebTheme::Engine. See the comments in that class
7 // header file for why this class is needed and used. 7 // header file for why this class is needed and used.
8 // 8 //
9 // This class implements a generic set of widgets using Skia. The widgets 9 // This class implements a generic set of widgets using Skia. The widgets
10 // are optimized for testability, not a pleasing appearance. 10 // are optimized for testability, not a pleasing appearance.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // six clickable parts - two arrows, the "thumb" indicating the current 65 // six clickable parts - two arrows, the "thumb" indicating the current
66 // position on the bar, the other two parts of the bar (before and after 66 // position on the bar, the other two parts of the bar (before and after
67 // the thumb) and the "gripper" on the thumb itself. 67 // the thumb) and the "gripper" on the thumb itself.
68 // 68 //
69 enum Type { 69 enum Type {
70 kUnknown_Type = 0, 70 kUnknown_Type = 0,
71 kTextField_Type, 71 kTextField_Type,
72 kPushButton_Type, 72 kPushButton_Type,
73 kUncheckedBox_Type, 73 kUncheckedBox_Type,
74 kCheckedBox_Type, 74 kCheckedBox_Type,
75 kIndeterminateCheckBox_Type,
75 kUncheckedRadio_Type, 76 kUncheckedRadio_Type,
76 kCheckedRadio_Type, 77 kCheckedRadio_Type,
77 kHorizontalScrollTrackBack_Type, 78 kHorizontalScrollTrackBack_Type,
78 kHorizontalScrollTrackForward_Type, 79 kHorizontalScrollTrackForward_Type,
79 kHorizontalScrollThumb_Type, 80 kHorizontalScrollThumb_Type,
80 kHorizontalScrollGrip_Type, 81 kHorizontalScrollGrip_Type,
81 kVerticalScrollTrackBack_Type, 82 kVerticalScrollTrackBack_Type,
82 kVerticalScrollTrackForward_Type, 83 kVerticalScrollTrackForward_Type,
83 kVerticalScrollThumb_Type, 84 kVerticalScrollThumb_Type,
84 kVerticalScrollGrip_Type, 85 kVerticalScrollGrip_Type,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 const int width_; 169 const int width_;
169 const int height_; 170 const int height_;
170 171
171 DISALLOW_COPY_AND_ASSIGN(Control); 172 DISALLOW_COPY_AND_ASSIGN(Control);
172 }; 173 };
173 174
174 } // namespace TestShellWebTheme 175 } // namespace TestShellWebTheme
175 176
176 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBTHEMECONTROL_H_ 177 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBTHEMECONTROL_H_
177 178
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell_webthemecontrol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698