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

Side by Side Diff: chrome/browser/chromeos/media/media_player_browsertest.cc

Issue 7067020: Moving mediaplayer to the chrome filebrowser. Observable behaviour should not change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Playlist doesn't reset pending playback request. Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/chromeos/media/media_player.h"
8 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_list.h" 10 #include "chrome/browser/ui/browser_list.h"
10 #include "chrome/browser/ui/webui/mediaplayer_ui.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "chrome/test/automation/dom_element_proxy.h" 13 #include "chrome/test/automation/dom_element_proxy.h"
14 #include "chrome/test/in_process_browser_test.h" 14 #include "chrome/test/in_process_browser_test.h"
15 #include "chrome/test/ui_test_utils.h" 15 #include "chrome/test/ui_test_utils.h"
16 #include "content/browser/tab_contents/tab_contents.h" 16 #include "content/browser/tab_contents/tab_contents.h"
17 17
18 namespace { 18 namespace {
19 19
20 class MediaPlayerBrowserTest : public InProcessBrowserTest { 20 class MediaPlayerBrowserTest : public InProcessBrowserTest {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 player->EnqueueMediaFileUrl(GetMusicTestURL(), NULL); 86 player->EnqueueMediaFileUrl(GetMusicTestURL(), NULL);
87 87
88 EXPECT_FALSE(IsPlaylistVisible()); 88 EXPECT_FALSE(IsPlaylistVisible());
89 89
90 player->TogglePlaylistWindowVisible(); 90 player->TogglePlaylistWindowVisible();
91 91
92 EXPECT_TRUE(IsPlaylistVisible()); 92 EXPECT_TRUE(IsPlaylistVisible());
93 } 93 }
94 94
95 } // namespace 95 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/extensions/extension_file_browser_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698