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

Unified Diff: chrome/browser/ui/views/desktop_media_picker_views.cc

Issue 1313843003: Enable keyboard navigation for Desktopcapture window selection dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/desktop_media_picker_views.cc
diff --git a/chrome/browser/ui/views/desktop_media_picker_views.cc b/chrome/browser/ui/views/desktop_media_picker_views.cc
index bfc4479c545fe3c63724fc9508d5b69158dbd6ea..f789710c9c78acd6f3eab404e0450d2eb9ea57ea 100644
--- a/chrome/browser/ui/views/desktop_media_picker_views.cc
+++ b/chrome/browser/ui/views/desktop_media_picker_views.cc
@@ -421,6 +421,10 @@ DesktopMediaPickerDialogView::DesktopMediaPickerDialogView(
widget->Show();
}
+ // Enable and request keyboard focus
Sergey Ulanov 2015/09/14 20:59:24 Please add . at the end of the sentence.
gyzhou 2015/09/14 22:51:29 Done.
+ SetFocusable(true);
+ RequestFocus();
+
// If the picker is not modal to the calling web contents then it is displayed
// in its own top-level window, so in that case it needs to be filtered out of
// the list of top-level windows available for capture, and to achieve that
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698