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

Unified Diff: chrome/browser/app_controller_mac_browsertest.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/app_controller_mac_browsertest.mm
===================================================================
--- chrome/browser/app_controller_mac_browsertest.mm (revision 145001)
+++ chrome/browser/app_controller_mac_browsertest.mm (working copy)
@@ -8,8 +8,9 @@
#include "base/memory/scoped_nsobject.h"
#include "chrome/app/chrome_command_ids.h"
#import "chrome/browser/app_controller_mac.h"
-#import "chrome/browser/ui/browser.h"
-#import "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
#import "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
@@ -68,7 +69,7 @@
EXPECT_EQ(2u, BrowserList::size());
Browser* browser = *(BrowserList::begin());
- GURL current_url = browser->GetActiveWebContents()->GetURL();
+ GURL current_url = chrome::GetActiveWebContents(browser)->GetURL();
EXPECT_EQ(GetAppURL(), current_url.spec());
}
« no previous file with comments | « chrome/browser/accessibility/accessibility_win_browsertest.cc ('k') | chrome/browser/autocomplete/autocomplete_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698