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

Side by Side Diff: chrome/browser/ui/views/desktop_media_picker_views_deprecated_unittest.cc

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/desktop_media_picker_views_deprecated.h" 5 #include "chrome/browser/ui/views/desktop_media_picker_views_deprecated.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "chrome/browser/media/fake_desktop_media_list.h" 12 #include "chrome/browser/media/webrtc/fake_desktop_media_list.h"
13 #include "components/web_modal/test_web_contents_modal_dialog_host.h" 13 #include "components/web_modal/test_web_contents_modal_dialog_host.h"
14 #include "content/public/test/test_browser_thread_bundle.h" 14 #include "content/public/test/test_browser_thread_bundle.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
18 #include "ui/events/event_utils.h" 18 #include "ui/events/event_utils.h"
19 #include "ui/views/test/scoped_views_test_helper.h" 19 #include "ui/views/test/scoped_views_test_helper.h"
20 #include "ui/views/widget/widget.h" 20 #include "ui/views/widget/widget.h"
21 #include "ui/views/window/dialog_client_view.h" 21 #include "ui/views/window/dialog_client_view.h"
22 #include "ui/views/window/dialog_delegate.h" 22 #include "ui/views/window/dialog_delegate.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 EXPECT_FALSE( 222 EXPECT_FALSE(
223 GetPickerDialogView()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_OK)); 223 GetPickerDialogView()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_OK));
224 } 224 }
225 225
226 // Verifies that the MediaListView get the initial focus. 226 // Verifies that the MediaListView get the initial focus.
227 TEST_F(DesktopMediaPickerViewsDeprecatedTest, ListViewHasInitialFocus) { 227 TEST_F(DesktopMediaPickerViewsDeprecatedTest, ListViewHasInitialFocus) {
228 EXPECT_TRUE(GetPickerDialogView()->GetMediaListViewForTesting()->HasFocus()); 228 EXPECT_TRUE(GetPickerDialogView()->GetMediaListViewForTesting()->HasFocus());
229 } 229 }
230 230
231 } // namespace deprecated 231 } // namespace deprecated
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/desktop_media_picker_views_deprecated.cc ('k') | chrome/browser/ui/webui/media/webrtc_logs_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698