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

Unified Diff: chrome/browser/translate/translate_manager_browsertest.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/translate/translate_manager.cc ('k') | chrome/browser/ui/auto_login_prompter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_manager_browsertest.cc
===================================================================
--- chrome/browser/translate/translate_manager_browsertest.cc (revision 105162)
+++ chrome/browser/translate/translate_manager_browsertest.cc (working copy)
@@ -688,7 +688,7 @@
// Create a pending navigation and simulate a page load. That should be the
// equivalent of typing the URL again in the location bar.
NavEntryCommittedObserver nav_observer(contents());
- contents()->controller().LoadURL(url, GURL(), PageTransition::TYPED,
+ contents()->controller().LoadURL(url, GURL(), content::PAGE_TRANSITION_TYPED,
std::string());
rvh()->SendNavigate(0, url);
@@ -735,12 +735,12 @@
// Simulate a sub-frame auto-navigating.
rvh()->SendNavigateWithTransition(1, GURL("http://pub.com"),
- PageTransition::AUTO_SUBFRAME);
+ content::PAGE_TRANSITION_AUTO_SUBFRAME);
EXPECT_TRUE(GetTranslateInfoBar() == NULL);
// Simulate the user navigating in a sub-frame.
rvh()->SendNavigateWithTransition(2, GURL("http://pub.com"),
- PageTransition::MANUAL_SUBFRAME);
+ content::PAGE_TRANSITION_MANUAL_SUBFRAME);
EXPECT_TRUE(GetTranslateInfoBar() == NULL);
// Navigate out of page, a new infobar should show.
« no previous file with comments | « chrome/browser/translate/translate_manager.cc ('k') | chrome/browser/ui/auto_login_prompter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698