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

Unified Diff: chrome/browser/ui/cocoa/tabpose_window_unittest.mm

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/ui/cocoa/tabpose_window_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/tabpose_window_unittest.mm (revision 145001)
+++ chrome/browser/ui/cocoa/tabpose_window_unittest.mm (working copy)
@@ -4,7 +4,8 @@
#import "chrome/browser/ui/cocoa/tabpose_window.h"
-#import "chrome/browser/ui/browser_window.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
+#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
@@ -24,9 +25,8 @@
}
void AppendTabToStrip() {
- TabContents* tab_contents = Browser::TabContentsFactory(
- profile(), site_instance_, MSG_ROUTING_NONE,
- NULL, NULL);
+ TabContents* tab_contents = chrome::TabContentsFactory(
+ profile(), site_instance_, MSG_ROUTING_NONE, NULL, NULL);
browser()->tab_strip_model()->AppendTabContents(
tab_contents, /*foreground=*/true);
}
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698