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

Unified Diff: chrome/views/message_box_view.cc

Issue 12895: Chromium-MultiProfile-Prototype... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/views/message_box_view.h ('k') | chrome/views/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/message_box_view.cc
===================================================================
--- chrome/views/message_box_view.cc (revision 6272)
+++ chrome/views/message_box_view.cc (working copy)
@@ -9,6 +9,7 @@
#include "chrome/browser/controller.h"
#include "chrome/browser/views/standard_layout.h"
#include "chrome/common/l10n_util.h"
+#include "chrome/views/checkbox.h"
#include "chrome/views/client_view.h"
#include "generated_resources.h"
@@ -71,6 +72,12 @@
ResetLayoutManager();
}
+void MessageBoxView::SetCheckBoxSelected(bool selected) {
+ if (!check_box_)
+ return;
+ check_box_->SetIsSelected(selected);
+}
+
///////////////////////////////////////////////////////////////////////////////
// MessageBoxView, views::View overrides:
« no previous file with comments | « chrome/views/message_box_view.h ('k') | chrome/views/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698