summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_focus_uitest.cc
diff options
context:
space:
mode:
authorstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 23:09:43 +0000
committerstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 23:09:43 +0000
commite0c7c263ba8720bc8616fc1ed73a1480dc931f6f (patch)
treeccd10968df3aae90a09db0766318a564f24132bc /chrome/browser/browser_focus_uitest.cc
parent6e939b54d6c746bf2a75b605a344bb8efede7915 (diff)
downloadchromium_src-e0c7c263ba8720bc8616fc1ed73a1480dc931f6f.zip
chromium_src-e0c7c263ba8720bc8616fc1ed73a1480dc931f6f.tar.gz
chromium_src-e0c7c263ba8720bc8616fc1ed73a1480dc931f6f.tar.bz2
Move Browser implementation of callback interfaces into the private section.
Split TabContentsDelegate and PageNavigator. Review URL: http://codereview.chromium.org/88063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14375 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_focus_uitest.cc')
-rw-r--r--chrome/browser/browser_focus_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_focus_uitest.cc b/chrome/browser/browser_focus_uitest.cc
index a19e072..4d46a59 100644
--- a/chrome/browser/browser_focus_uitest.cc
+++ b/chrome/browser/browser_focus_uitest.cc
@@ -78,7 +78,7 @@ IN_PROC_BROWSER_TEST_F(BrowserFocusTest, DISABLED_BrowsersRememberFocus) {
// Open a new browser window.
Browser* browser2 = Browser::Create(browser()->profile());
ASSERT_TRUE(browser2);
- browser2->AddBlankTab(true);
+ browser2->tabstrip_model()->delegate()->AddBlankTab(true);
browser2->window()->Show();
ui_test_utils::NavigateToURL(browser2, url);
@@ -177,7 +177,7 @@ IN_PROC_BROWSER_TEST_F(BrowserFocusTest, BackgroundBrowserDontStealFocus) {
// Open a new browser window.
Browser* browser2 = Browser::Create(browser()->profile());
ASSERT_TRUE(browser2);
- browser2->AddBlankTab(true);
+ browser2->tabstrip_model()->delegate()->AddBlankTab(true);
browser2->window()->Show();
GURL steal_focus_url = server->TestServerPageW(kStealFocusPage);
ui_test_utils::NavigateToURL(browser2, steal_focus_url);