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

Unified Diff: ui/views/window/dialog_client_view.h

Issue 1690133003: DialogClientView: Correct the order in which subviews are focused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Created 4 years, 10 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 | « no previous file | ui/views/window/dialog_client_view.cc » ('j') | ui/views/window/dialog_client_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.h
diff --git a/ui/views/window/dialog_client_view.h b/ui/views/window/dialog_client_view.h
index 1108904f5d519fd81f1e01b398fe39f990138a55..43054d8668a42a509f052071fcc4d0853cd7a76f 100644
--- a/ui/views/window/dialog_client_view.h
+++ b/ui/views/window/dialog_client_view.h
@@ -87,6 +87,12 @@ class VIEWS_EXPORT DialogClientView : public ClientView,
// Update |button|'s text and enabled state according to the delegate's state.
void UpdateButton(LabelButton* button, ui::DialogButton type);
+ // Update the OK button to match the dialog's delegate.
+ void UpdateOKButton();
+
+ // Update the cancel button to match the dialog's delegate.
+ void UpdateCancelButton();
+
// Returns the height of the row containing the buttons and the extra view.
int GetButtonsAndExtraViewRowHeight() const;
« no previous file with comments | « no previous file | ui/views/window/dialog_client_view.cc » ('j') | ui/views/window/dialog_client_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698