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

Unified Diff: content/browser/webui/generic_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
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac.mm ('k') | content/browser/webui/web_ui_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/generic_handler.cc
diff --git a/content/browser/webui/generic_handler.cc b/content/browser/webui/generic_handler.cc
index 058382fa8a8337c73fa21f68df9b8ef95eadda6d..b26bcd9294a3232e2c4738a4f94596d9c0d9d52e 100644
--- a/content/browser/webui/generic_handler.cc
+++ b/content/browser/webui/generic_handler.cc
@@ -50,8 +50,11 @@ void GenericHandler::HandleNavigateToUrl(const base::ListValue* args) {
if (disposition == CURRENT_TAB && target_string == "_blank")
disposition = NEW_FOREGROUND_TAB;
- web_ui()->GetWebContents()->OpenURL(OpenURLParams(
- GURL(url_string), Referrer(), disposition, PAGE_TRANSITION_LINK, false));
+ web_ui()->GetWebContents()->OpenURL(OpenURLParams(GURL(url_string),
+ Referrer(),
+ disposition,
+ ui::PAGE_TRANSITION_LINK,
+ false));
// This may delete us!
}
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac.mm ('k') | content/browser/webui/web_ui_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698