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

Unified Diff: chrome/browser/chromeos/media/media_player.cc

Issue 10702029: Move tab functions off Browser into browser_tabstrip and browser_tabrestore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/media/media_player.cc
===================================================================
--- chrome/browser/chromeos/media/media_player.cc (revision 145001)
+++ chrome/browser/chromeos/media/media_player.cc (working copy)
@@ -13,6 +13,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/common/chrome_notification_types.h"
#include "content/public/browser/browser_thread.h"
@@ -140,8 +141,8 @@
chrome::NOTIFICATION_BROWSER_CLOSED,
content::Source<Browser>(mediaplayer_browser_));
- mediaplayer_browser_->AddSelectedTabWithURL(GetMediaPlayerUrl(),
- content::PAGE_TRANSITION_LINK);
+ chrome::AddSelectedTabWithURL(mediaplayer_browser_, GetMediaPlayerUrl(),
+ content::PAGE_TRANSITION_LINK);
mediaplayer_browser_->window()->Show();
}
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_task_executor.cc ('k') | chrome/browser/chromeos/oom_priority_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698