X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fui%2Fsearch%2Fsearch_tab_helper.cc;h=c4ec74cc160024f1a2fcf7638f095f7bc0c9743c;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=7237c696e4a5ab299310430fc2a930793b7d77a9;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/ui/search/search_tab_helper.cc b/src/chrome/browser/ui/search/search_tab_helper.cc index 7237c69..c4ec74c 100644 --- a/src/chrome/browser/ui/search/search_tab_helper.cc +++ b/src/chrome/browser/ui/search/search_tab_helper.cc @@ -31,6 +31,7 @@ #include "chrome/browser/ui/tab_contents/core_tab_helper.h" #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h" #include "chrome/common/url_constants.h" +#include "chrome/grit/generated_resources.h" #include "components/google/core/browser/google_util.h" #include "components/search/search.h" #include "components/signin/core/browser/signin_manager.h" @@ -44,11 +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 "grit/generated_resources.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);