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

Unified Diff: chrome/browser/ui/webui/chrome_web_contents_handler.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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/chrome_web_contents_handler.cc
diff --git a/chrome/browser/ui/webui/chrome_web_contents_handler.cc b/chrome/browser/ui/webui/chrome_web_contents_handler.cc
index 36c632b632268efbb227580c3b9ca8a626dce33f..c733afe2336243af209f8f41092a17d865769f1b 100644
--- a/chrome/browser/ui/webui/chrome_web_contents_handler.cc
+++ b/chrome/browser/ui/webui/chrome_web_contents_handler.cc
@@ -53,7 +53,7 @@ WebContents* ChromeWebContentsHandler::OpenURLFromTab(
nav_params.referrer = params.referrer;
if (source && source->IsCrashed() &&
params.disposition == CURRENT_TAB &&
- params.transition == content::PAGE_TRANSITION_LINK) {
+ params.transition == ui::PAGE_TRANSITION_LINK) {
nav_params.disposition = NEW_FOREGROUND_TAB;
} else {
nav_params.disposition = params.disposition;

Powered by Google App Engine
This is Rietveld 408576698