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

Unified Diff: views/controls/button/checkbox.cc

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 side-by-side diff with in-line comments
Download patch
Index: views/controls/button/checkbox.cc
===================================================================
--- views/controls/button/checkbox.cc (revision 90205)
+++ views/controls/button/checkbox.cc (working copy)
@@ -300,8 +300,10 @@
void Checkbox::GetExtraParams(gfx::NativeTheme::ExtraParams* params) const {
TextButtonBase::GetExtraParams(params);
- params->button.is_default = false;
params->button.checked = checked_;
+#if defined(OS_WIN)
+ params->button.classic_state |= checked_ ? DFCS_CHECKED: 0;
Ben Goodger (Google) 2011/06/23 17:31:34 Can't this be added automatically by the NativeThe
Roger Tawa OOO till Jul 10th 2011/06/23 19:22:11 You are correct, it can.
+#endif
}
gfx::Rect Checkbox::GetTextBounds() const {

Powered by Google App Engine
This is Rietveld 408576698