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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.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/safe_browsing/safe_browsing_blocking_page.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index be1adc97f847e1c93cf916edbfa2c55ae0c31167..ebd0b7dccb2428ec07860fb475de9aaf904223bb 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -276,7 +276,7 @@ void SafeBrowsingBlockingPage::CommandReceived(const std::string& cmd) {
OpenURLParams params(learn_more_url,
Referrer(),
CURRENT_TAB,
- content::PAGE_TRANSITION_LINK,
+ ui::PAGE_TRANSITION_LINK,
false);
web_contents_->OpenURL(params);
return;
@@ -292,7 +292,7 @@ void SafeBrowsingBlockingPage::CommandReceived(const std::string& cmd) {
OpenURLParams params(privacy_url,
Referrer(),
CURRENT_TAB,
- content::PAGE_TRANSITION_LINK,
+ ui::PAGE_TRANSITION_LINK,
false);
web_contents_->OpenURL(params);
return;
@@ -329,7 +329,7 @@ void SafeBrowsingBlockingPage::CommandReceived(const std::string& cmd) {
web_contents_->GetController().LoadURL(
GURL(chrome::kChromeUINewTabURL),
content::Referrer(),
- content::PAGE_TRANSITION_AUTO_TOPLEVEL,
+ ui::PAGE_TRANSITION_AUTO_TOPLEVEL,
std::string());
}
return;
@@ -371,7 +371,7 @@ void SafeBrowsingBlockingPage::CommandReceived(const std::string& cmd) {
unsafe_resources_[element_index].threat_type ==
SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL);
OpenURLParams params(
- diagnostic_url, Referrer(), CURRENT_TAB, content::PAGE_TRANSITION_LINK,
+ diagnostic_url, Referrer(), CURRENT_TAB, ui::PAGE_TRANSITION_LINK,
false);
web_contents_->OpenURL(params);
return;

Powered by Google App Engine
This is Rietveld 408576698