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

Unified Diff: webkit/tools/test_shell/test_shell_webthemecontrol.cc

Issue 2876036: Implement indeterminate checkbox for the generic theme.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/test_shell_webthemecontrol.cc
===================================================================
--- webkit/tools/test_shell/test_shell_webthemecontrol.cc (revision 51479)
+++ webkit/tools/test_shell/test_shell_webthemecontrol.cc (working copy)
@@ -267,6 +267,11 @@
nested_boxes(kCheckIndent, kCheckIndent, kCheckIndent, kCheckIndent,
bg_color_, fg_color_);
break;
+ case kIndeterminateCheckBox_Type:
+ // Indeterminate checkbox is a box containing '-'.
+ nested_boxes(kCheckIndent, height_ / 2, kCheckIndent, height_ / 2,
+ bg_color_, fg_color_);
+ break;
case kUncheckedRadio_Type:
circle(SkIntToScalar(half_height), bg_color_);
break;
« no previous file with comments | « webkit/tools/test_shell/test_shell_webthemecontrol.h ('k') | webkit/tools/test_shell/test_shell_webthemeengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698