Chromium Code Reviews| Index: chrome/browser/ui/views/desktop_media_picker_views_unittest.cc |
| diff --git a/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc b/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc |
| index d43e36c9b598a9e4c2ff9002c9014a709d4b480c..c18f0ef442fbfc9e432988f687edf45f5c9075cd 100644 |
| --- a/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc |
| +++ b/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc |
| @@ -185,4 +185,9 @@ TEST_F(DesktopMediaPickerViewsTest, OkButtonDisabledWhenNoSelection) { |
| GetPickerDialogView()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_OK)); |
| } |
| +// Verifies that the MediaListView get the initial focus. |
| +TEST_F(DesktopMediaPickerViewsTest, ListViewHasInitialFocus) { |
| + EXPECT_TRUE(GetPickerDialogView()->GetMediaListViewForTesting()->HasFocus()); |
|
Peter Kasting
2015/10/02 18:52:56
I was thinking more along the lines of checking th
gyzhou
2015/10/05 20:50:16
We were verified that bool DesktopMediaListView::O
Peter Kasting
2015/10/05 20:59:45
Yes, I know this. That's why I asked for an inter
gyzhou
2015/10/05 21:12:27
We knew that the arrow key wasn't controlled by li
Peter Kasting
2015/10/05 21:59:26
I don't even understand how this sentence has any
|
| +} |
| + |
| } // namespace views |