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

Unified Diff: chrome/browser/ui/search/search_tab_helper.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/search/search_tab_helper.cc
diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
index d479c98fc15215bb81b62127faf500945eeec91b..c4ec74cc160024f1a2fcf7638f095f7bc0c9743c 100644
--- a/chrome/browser/ui/search/search_tab_helper.cc
+++ b/chrome/browser/ui/search/search_tab_helper.cc
@@ -45,10 +45,10 @@
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
-#include "content/public/common/page_transition_types.h"
#include "content/public/common/referrer.h"
#include "net/base/net_errors.h"
#include "ui/base/l10n/l10n_util.h"
+#include "ui/base/page_transition_types.h"
#include "url/gurl.h"
DEFINE_WEB_CONTENTS_USER_DATA_KEY(SearchTabHelper);
@@ -620,7 +620,7 @@ void SearchTabHelper::RedirectToLocalNTP() {
content::NavigationController::LoadURLParams load_params(
(GURL(chrome::kChromeSearchLocalNtpUrl)));
load_params.referrer = content::Referrer();
- load_params.transition_type = content::PAGE_TRANSITION_SERVER_REDIRECT;
+ load_params.transition_type = ui::PAGE_TRANSITION_SERVER_REDIRECT;
// Don't push a history entry.
load_params.should_replace_current_entry = true;
web_contents_->GetController().LoadURLWithParams(load_params);

Powered by Google App Engine
This is Rietveld 408576698