summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 01:08:59 +0000
committerinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 01:08:59 +0000
commitc8a655cdab8e4ed0b0cc5c784f20649105bf7456 (patch)
treee8b608cd6eb52a73c7d3998d7d8cfc5041ce3bcb /content
parentf5c722b9e89c91e0844afeb29d841f02ed5c472f (diff)
downloadchromium_src-c8a655cdab8e4ed0b0cc5c784f20649105bf7456.zip
chromium_src-c8a655cdab8e4ed0b0cc5c784f20649105bf7456.tar.gz
chromium_src-c8a655cdab8e4ed0b0cc5c784f20649105bf7456.tar.bz2
Revert 76329 Broke compile - Change the behavior of ignore_path in BrowserNavigator.
use an enum instead. The enum controls whether to replace the path or leave it alone when bringing an already-open tab to the front. BUG=71472 TEST=included Review URL: http://codereview.chromium.org/6579047 TBR=estade@chromium.org Review URL: http://codereview.chromium.org/6588072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_process_host_browsertest.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/content/browser/renderer_host/render_process_host_browsertest.cc b/content/browser/renderer_host/render_process_host_browsertest.cc
index 62c05b5..afe829c 100644
--- a/content/browser/renderer_host/render_process_host_browsertest.cc
+++ b/content/browser/renderer_host/render_process_host_browsertest.cc
@@ -78,7 +78,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessPerTab) {
// Create a new TYPE_NORMAL tab. It should be in its own process.
GURL page1("data:text/html,hello world1");
- browser()->ShowSingletonTab(page1);
+ browser()->ShowSingletonTab(page1, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
@@ -88,7 +88,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessPerTab) {
// Create another TYPE_NORMAL tab. It should share the previous process.
GURL page2("data:text/html,hello world2");
- browser()->ShowSingletonTab(page2);
+ browser()->ShowSingletonTab(page2, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
@@ -122,7 +122,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, DevToolsOnSelfInOwnProcessPPT) {
int host_count = 1;
GURL page1("data:text/html,hello world1");
- browser()->ShowSingletonTab(page1);
+ browser()->ShowSingletonTab(page1, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
@@ -154,7 +154,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, DevToolsOnSelfInOwnProcess) {
int host_count = 1;
GURL page1("data:text/html,hello world1");
- browser()->ShowSingletonTab(page1);
+ browser()->ShowSingletonTab(page1, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
@@ -206,7 +206,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessOverflow) {
// Create a new TYPE_NORMAL tab. It should be in its own process.
GURL page1("data:text/html,hello world1");
- browser()->ShowSingletonTab(page1);
+ browser()->ShowSingletonTab(page1, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
@@ -220,7 +220,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessOverflow) {
// Create another TYPE_NORMAL tab. It should share the previous process.
GURL page2("data:text/html,hello world2");
- browser()->ShowSingletonTab(page2);
+ browser()->ShowSingletonTab(page2, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
@@ -235,7 +235,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessOverflow) {
// bug 43448 where extension and WebUI tabs could get combined into normal
// renderers.
GURL history(chrome::kChromeUIHistoryURL);
- browser()->ShowSingletonTab(history);
+ browser()->ShowSingletonTab(history, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
@@ -248,7 +248,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessOverflow) {
// Create a TYPE_EXTENSION tab. It should be in its own process.
// (the bookmark manager is implemented as an extension)
GURL bookmarks(chrome::kChromeUIBookmarksURL);
- browser()->ShowSingletonTab(bookmarks);
+ browser()->ShowSingletonTab(bookmarks, false);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;