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

Unified Diff: components/dom_distiller/webui/dom_distiller_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: components/dom_distiller/webui/dom_distiller_handler.cc
diff --git a/components/dom_distiller/webui/dom_distiller_handler.cc b/components/dom_distiller/webui/dom_distiller_handler.cc
index 0c3516732d72902a3d9029a14f7c10b101ff251f..d70dce4798c79d2d96049b17d41782a226505a89 100644
--- a/components/dom_distiller/webui/dom_distiller_handler.cc
+++ b/components/dom_distiller/webui/dom_distiller_handler.cc
@@ -80,7 +80,7 @@ void DomDistillerHandler::HandleViewUrl(const base::ListValue* args) {
web_ui()->GetWebContents()->GetController().LoadURL(
view_url,
content::Referrer(),
- content::PAGE_TRANSITION_GENERATED,
+ ui::PAGE_TRANSITION_GENERATED,
std::string());
} else {
web_ui()->CallJavascriptFunction("domDistiller.onViewUrlFailed");
@@ -96,7 +96,7 @@ void DomDistillerHandler::HandleSelectArticle(const base::ListValue* args) {
web_ui()->GetWebContents()->GetController().LoadURL(
url,
content::Referrer(),
- content::PAGE_TRANSITION_GENERATED,
+ ui::PAGE_TRANSITION_GENERATED,
std::string());
}
« no previous file with comments | « components/dom_distiller/content/distiller_page_web_contents_browsertest.cc ('k') | components/navigation_interception.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698