Chromium Code Reviews| 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 |