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

Unified Diff: views/window/dialog_client_view.cc

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
« no previous file with comments | « views/widget/root_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/dialog_client_view.cc
===================================================================
--- views/window/dialog_client_view.cc (revision 86085)
+++ views/window/dialog_client_view.cc (working copy)
@@ -139,7 +139,7 @@
ok_button_ = new DialogButton(this, window(),
MessageBoxFlags::DIALOGBUTTON_OK, label,
is_default_button);
- ok_button_->SetGroup(kButtonGroup);
+ ok_button_->set_group(kButtonGroup);
if (is_default_button)
default_button_ = ok_button_;
if (!(buttons & MessageBoxFlags::DIALOGBUTTON_CANCEL))
@@ -163,7 +163,7 @@
cancel_button_ = new DialogButton(this, window(),
MessageBoxFlags::DIALOGBUTTON_CANCEL,
label, is_default_button);
- cancel_button_->SetGroup(kButtonGroup);
+ cancel_button_->set_group(kButtonGroup);
cancel_button_->AddAccelerator(Accelerator(ui::VKEY_ESCAPE,
false, false, false));
if (is_default_button)
@@ -531,7 +531,7 @@
View* extra_view = GetDialogDelegate()->GetExtraView();
if (extra_view && !extra_view_) {
extra_view_ = extra_view;
- extra_view_->SetGroup(kButtonGroup);
+ extra_view_->set_group(kButtonGroup);
AddChildView(extra_view_);
size_extra_view_height_to_buttons_ =
GetDialogDelegate()->GetSizeExtraViewHeightToButtons();
« no previous file with comments | « views/widget/root_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698