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

Unified Diff: chrome/browser/ui/webui/html_dialog_tab_contents_delegate.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/ui/webui/html_dialog_tab_contents_delegate.cc
===================================================================
--- chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc (revision 105162)
+++ chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc (working copy)
@@ -31,7 +31,7 @@
// TODO(adriansc): Remove this method once refactoring changed all call sites.
TabContents* HtmlDialogTabContentsDelegate::OpenURLFromTab(
TabContents* source, const GURL& url, const GURL& referrer,
- WindowOpenDisposition disposition, PageTransition::Type transition) {
+ WindowOpenDisposition disposition, content::PageTransition transition) {
return OpenURLFromTab(source,
OpenURLParams(url, referrer, disposition, transition));
}
@@ -47,7 +47,7 @@
nav_params.referrer = params.referrer;
if (source && source->is_crashed() &&
params.disposition == CURRENT_TAB &&
- params.transition == PageTransition::LINK)
+ params.transition == content::PAGE_TRANSITION_LINK)
nav_params.disposition = NEW_FOREGROUND_TAB;
else
nav_params.disposition = params.disposition;

Powered by Google App Engine
This is Rietveld 408576698