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

Unified Diff: chrome/browser/chromeos/first_run/drive_first_run_controller.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/chromeos/first_run/drive_first_run_controller.cc
diff --git a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
index c69b2ed8adcbfbc014ab3055267cf343e094096e..57f5dafdec1eec32ce19056ce549c9c75868f932 100644
--- a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
+++ b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
@@ -221,7 +221,7 @@ void DriveWebContentsManager::StartLoad() {
web_contents_.get());
content::NavigationController::LoadURLParams load_params(url);
- load_params.transition_type = content::PAGE_TRANSITION_GENERATED;
+ load_params.transition_type = ui::PAGE_TRANSITION_GENERATED;
web_contents_->GetController().LoadURLWithParams(load_params);
content::WebContentsObserver::Observe(web_contents_.get());
@@ -318,7 +318,7 @@ bool DriveWebContentsManager::ShouldCreateWebContents(
contents->web_contents()->GetController().LoadURL(
target_url,
content::Referrer(),
- content::PAGE_TRANSITION_LINK,
+ ui::PAGE_TRANSITION_LINK,
std::string());
// Return false as we already created the WebContents here.

Powered by Google App Engine
This is Rietveld 408576698