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

Side by Side Diff: chrome/browser/dom_ui/mediaplayer_browsertest.cc

Issue 5104002: Cleanup: Include browser.h -> ui/browser.h [Part 4]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/ref_counted.h" 6 #include "base/ref_counted.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/test/automation/dom_element_proxy.h" 8 #include "chrome/test/automation/dom_element_proxy.h"
9 #include "chrome/browser/browser.h"
10 #include "chrome/browser/browser_list.h"
11 #include "chrome/browser/dom_ui/mediaplayer_ui.h" 9 #include "chrome/browser/dom_ui/mediaplayer_ui.h"
12 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
13 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_list.h"
14 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
16 #include "chrome/test/in_process_browser_test.h" 16 #include "chrome/test/in_process_browser_test.h"
17 #include "chrome/test/ui_test_utils.h" 17 #include "chrome/test/ui_test_utils.h"
18 18
19 namespace { 19 namespace {
20 20
21 class MediaPlayerBrowserTest : public InProcessBrowserTest { 21 class MediaPlayerBrowserTest : public InProcessBrowserTest {
22 public: 22 public:
23 MediaPlayerBrowserTest() {} 23 MediaPlayerBrowserTest() {}
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 player->EnqueueMediaURL(GetMusicTestURL(), NULL); 91 player->EnqueueMediaURL(GetMusicTestURL(), NULL);
92 92
93 EXPECT_FALSE(IsPlaylistVisible()); 93 EXPECT_FALSE(IsPlaylistVisible());
94 94
95 player->TogglePlaylistWindowVisible(); 95 player->TogglePlaylistWindowVisible();
96 96
97 EXPECT_TRUE(IsPlaylistVisible()); 97 EXPECT_TRUE(IsPlaylistVisible());
98 } 98 }
99 99
100 } // namespace 100 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/html_dialog_tab_contents_delegate_unittest.cc ('k') | chrome/browser/dom_ui/mediaplayer_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698