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

Unified Diff: chrome/browser/ui/search/search_ipc_router_policy_impl.cc

Issue 1908363002: Nuke chrome.embeddedeseach.newTabPage.navigateContentWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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_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 8af1228b9bcb543e010fa29fa0c57f3347be432c..ed5cd2ed2bb011c68742a1dc61489e8a82bd6233 100644
--- a/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
+++ b/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
@@ -26,10 +26,6 @@ bool SearchIPCRouterPolicyImpl::ShouldProcessFocusOmnibox(bool is_active_tab) {
return is_active_tab && !is_incognito_ && search::IsInstantNTP(web_contents_);
}
-bool SearchIPCRouterPolicyImpl::ShouldProcessNavigateToURL(bool is_active_tab) {
- return is_active_tab && !is_incognito_ && search::IsInstantNTP(web_contents_);
-}
-
bool SearchIPCRouterPolicyImpl::ShouldProcessDeleteMostVisitedItem() {
return !is_incognito_ && search::IsInstantNTP(web_contents_);
}

Powered by Google App Engine
This is Rietveld 408576698