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

Unified Diff: chrome/browser/translate/translate_manager.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
Index: chrome/browser/translate/translate_manager.cc
===================================================================
--- chrome/browser/translate/translate_manager.cc (revision 105162)
+++ chrome/browser/translate/translate_manager.cc (working copy)
@@ -280,7 +280,7 @@
// infobar if the user already dismissed one in that case.
return;
}
- if (entry->transition_type() != PageTransition::RELOAD &&
+ if (entry->transition_type() != content::PAGE_TRANSITION_RELOAD &&
load_details->type != NavigationType::SAME_PAGE) {
return;
}
@@ -619,7 +619,7 @@
return;
}
browser->AddSelectedTabWithURL(GURL(report_error_url),
- PageTransition::AUTO_BOOKMARK);
+ content::PAGE_TRANSITION_AUTO_BOOKMARK);
}
void TranslateManager::DoTranslatePage(TabContents* tab,
« no previous file with comments | « chrome/browser/translate/options_menu_model.cc ('k') | chrome/browser/translate/translate_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698