| Index: chrome/browser/ui/search/search_ipc_router_policy_impl.cc
|
| diff --git a/chrome/browser/ui/search/search_ipc_router_policy_impl.cc b/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
|
| index bbab087c52c5dcba32b77bf451d2a4ec86097d0d..4a85e2fb19d1b4a2cd51ec0d56dec5b24549ac54 100644
|
| --- a/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
|
| +++ b/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
|
| @@ -27,44 +27,44 @@ bool SearchIPCRouterPolicyImpl::ShouldProcessSetVoiceSearchSupport() {
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessFocusOmnibox(bool is_active_tab) {
|
| - return is_active_tab && !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return is_active_tab && !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessNavigateToURL(bool is_active_tab) {
|
| - return is_active_tab && !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return is_active_tab && !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessDeleteMostVisitedItem() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessUndoMostVisitedDeletion() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessUndoAllMostVisitedDeletions() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessLogEvent() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessPasteIntoOmnibox(
|
| bool is_active_tab) {
|
| - return is_active_tab && !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return is_active_tab && !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessChromeIdentityCheck() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldProcessHistorySyncCheck() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldSendSetPromoInformation() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldSendSetDisplayInstantResults() {
|
| @@ -89,11 +89,11 @@ bool SearchIPCRouterPolicyImpl::ShouldSendOmniboxFocusChanged() {
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldSendMostVisitedItems() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldSendThemeBackgroundInfo() {
|
| - return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
|
| + return !is_incognito_ && search::IsInstantNTP(web_contents_);
|
| }
|
|
|
| bool SearchIPCRouterPolicyImpl::ShouldSendToggleVoiceSearch() {
|
|
|