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

Unified Diff: chrome/browser/ui/search/search_ipc_router.h

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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/search_ipc_router.h
diff --git a/chrome/browser/ui/search/search_ipc_router.h b/chrome/browser/ui/search/search_ipc_router.h
index 1349d6258fb4b229ec7dfac256d68c5f1f309595..3fc068fb21258f8b01694b9291d13c688d813a74 100644
--- a/chrome/browser/ui/search/search_ipc_router.h
+++ b/chrome/browser/ui/search/search_ipc_router.h
@@ -41,13 +41,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
// the omnibox focus state.
virtual void FocusOmnibox(OmniboxFocusState state) = 0;
- // Called when the page wants to navigate to |url|. Usually used by the
- // page to navigate to privileged destinations (e.g. chrome:// URLs) or to
- // navigate to URLs that are hidden from the page using Restricted IDs (rid
- // in the API).
- virtual void NavigateToURL(const GURL& url,
- WindowOpenDisposition disposition) = 0;
-
// Called when the SearchBox wants to delete a Most Visited item.
virtual void OnDeleteMostVisitedItem(const GURL& url) = 0;
@@ -98,7 +91,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
// SearchIPCRouter calls these functions before sending/receiving messages
// to/from the page.
virtual bool ShouldProcessFocusOmnibox(bool is_active_tab) = 0;
- virtual bool ShouldProcessNavigateToURL(bool is_active_tab) = 0;
virtual bool ShouldProcessDeleteMostVisitedItem() = 0;
virtual bool ShouldProcessUndoMostVisitedDeletion() = 0;
virtual bool ShouldProcessUndoAllMostVisitedDeletions() = 0;
@@ -188,9 +180,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
void OnInstantSupportDetermined(int page_seq_no, bool supports_instant) const;
void OnFocusOmnibox(int page_id, OmniboxFocusState state) const;
- void OnSearchBoxNavigate(int page_id,
- const GURL& url,
- WindowOpenDisposition disposition) const;
void OnDeleteMostVisitedItem(int page_seq_no, const GURL& url) const;
void OnUndoMostVisitedDeletion(int page_seq_no, const GURL& url) const;
void OnUndoAllMostVisitedDeletions(int page_seq_no) const;
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698