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

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 | « ui/views/window/client_view.cc ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »
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..32f6a617b030d97968b6829a3b9b5cee05e95f13 100644
--- a/ui/views/window/dialog_client_view.h
+++ b/ui/views/window/dialog_client_view.h
@@ -96,6 +96,10 @@ class VIEWS_EXPORT DialogClientView : public ClientView,
// Closes the widget.
void Close();
+ // Sets up the focus chain for the child views. This is required since the
+ // delegate may choose to add/remove views at any time.
+ void SetupFocusChain();
+
// The dialog buttons.
LabelButton* ok_button_;
LabelButton* cancel_button_;
« no previous file with comments | « ui/views/window/client_view.cc ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698