diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 15:53:41 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 15:53:41 +0000 |
commit | eaca0ad17b151d28b1e5821f1fce27a6dadc0b29 (patch) | |
tree | ee2365ab208b0196ba01dc9156b10f7b1a96ea60 /chrome/browser/browser_commands_unittest.cc | |
parent | d74f92e7c7c15d9cc86a54a70e68131414107c47 (diff) | |
download | chromium_src-eaca0ad17b151d28b1e5821f1fce27a6dadc0b29.zip chromium_src-eaca0ad17b151d28b1e5821f1fce27a6dadc0b29.tar.gz chromium_src-eaca0ad17b151d28b1e5821f1fce27a6dadc0b29.tar.bz2 |
More TabStripModel renaming:
AddTabTypes::ADD_SELECTED -> ADD_ACTIVE
SelectTabContentsAt -> ActivateTabAt
BUG=none
TEST=none
R=ben@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6840007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81947 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_commands_unittest.cc')
-rw-r--r-- | chrome/browser/browser_commands_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_commands_unittest.cc b/chrome/browser/browser_commands_unittest.cc index d6f7ce2..f07c192 100644 --- a/chrome/browser/browser_commands_unittest.cc +++ b/chrome/browser/browser_commands_unittest.cc @@ -26,7 +26,7 @@ TEST_F(BrowserCommandsTest, TabNavigationAccelerators) { AddTab(browser(), about_blank); // Select the second tab. - browser()->SelectTabContentsAt(1, false); + browser()->ActivateTabAt(1, false); // Navigate to the first tab using an accelerator. browser()->ExecuteCommand(IDC_SELECT_TAB_0); @@ -128,7 +128,7 @@ TEST_F(BrowserCommandsTest, BackForwardInNewTab) { EXPECT_TRUE(first->controller().CanGoForward()); // Select the second tab and make it go forward in a new background tab. - browser()->SelectTabContentsAt(1, true); + browser()->ActivateTabAt(1, true); // TODO(brettw) bug 11055: It should not be necessary to commit the load here, // but because of this bug, it will assert later if we don't. When the bug is // fixed, one of the three commits here related to this bug should be removed @@ -152,7 +152,7 @@ TEST_F(BrowserCommandsTest, BackForwardInNewTab) { // Now do back in a new foreground tab. Don't bother re-checking every sngle // thing above, just validate that it's opening properly. - browser()->SelectTabContentsAt(2, true); + browser()->ActivateTabAt(2, true); // TODO(brettw) bug 11055: see the comment above about why we need this. CommitPendingLoad(&second->controller()); browser()->GoBack(NEW_FOREGROUND_TAB); |