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

Unified Diff: chrome/browser/ssl/ssl_browser_tests.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « chrome/browser/sidebar/sidebar_container.cc ('k') | chrome/browser/sync/glue/session_model_associator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_browser_tests.cc
===================================================================
--- chrome/browser/ssl/ssl_browser_tests.cc (revision 105162)
+++ chrome/browser/ssl/ssl_browser_tests.cc (working copy)
@@ -476,7 +476,7 @@
GURL url = https_server_expired_.GetURL("files/ssl/google.htm");
TabContentsWrapper* tab2 =
- browser()->AddSelectedTabWithURL(url, PageTransition::TYPED);
+ browser()->AddSelectedTabWithURL(url, content::PAGE_TRANSITION_TYPED);
ui_test_utils::WaitForLoadStop(tab2->tab_contents());
// Verify our assumption that there was no prior navigation.
@@ -503,7 +503,7 @@
ui_test_utils::WindowedNotificationObserver observer(
content::NOTIFICATION_LOAD_STOP, NotificationService::AllSources());
browser::NavigateParams navigate_params(browser(), url_dangerous,
- PageTransition::TYPED);
+ content::PAGE_TRANSITION_TYPED);
browser::Navigate(&navigate_params);
observer.Wait();
}
@@ -661,7 +661,8 @@
&replacement_path));
GURL url = https_server_.GetURL(replacement_path);
- browser::NavigateParams params(browser(), url, PageTransition::TYPED);
+ browser::NavigateParams params(
+ browser(), url, content::PAGE_TRANSITION_TYPED);
params.disposition = NEW_FOREGROUND_TAB;
params.tabstrip_index = 0;
params.source_contents = tab1;
@@ -701,7 +702,8 @@
// Create a new tab.
GURL url = https_server_.GetURL(replacement_path);
- browser::NavigateParams params(browser(), url, PageTransition::TYPED);
+ browser::NavigateParams params(
+ browser(), url, content::PAGE_TRANSITION_TYPED);
params.disposition = NEW_FOREGROUND_TAB;
params.source_contents = tab1;
ui_test_utils::WindowedNotificationObserver observer(
@@ -881,7 +883,7 @@
GURL url = test_server()->GetURL("files/ssl/google.html");
ui_test_utils::WindowedNotificationObserver observer(
content::NOTIFICATION_LOAD_STOP, NotificationService::AllSources());
- browser()->AddSelectedTabWithURL(url, PageTransition::TYPED);
+ browser()->AddSelectedTabWithURL(url, content::PAGE_TRANSITION_TYPED);
observer.Wait();
// Close the first tab.
« no previous file with comments | « chrome/browser/sidebar/sidebar_container.cc ('k') | chrome/browser/sync/glue/session_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698