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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 11466007: Add new IPC for searchbox to pipe SearchBox NavigateContentWindow calls to the browser. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: No longer commit on SearchBoxNavigate IPC. Created 8 years 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/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index cf3d01df1916a29ffdbfeae31c3bdac86a2a1cf3..2437afe80a2d60a39753aad487ae47516b28fa18 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -25,20 +25,23 @@ class SearchBox : public content::RenderViewObserver,
explicit SearchBox(content::RenderView* render_view);
virtual ~SearchBox();
- // Sends ViewHostMsg_SetSuggestions to the browser.
+ // Sends ChromeViewHostMsg_SetSuggestions to the browser.
void SetSuggestions(const std::vector<InstantSuggestion>& suggestions);
- // Sends ViewHostMsg_ShowInstantPreview to the browser.
+ // Sends ChromeViewHostMsg_ShowInstantPreview to the browser.
void ShowInstantPreview(InstantShownReason reason,
int height,
InstantSizeUnits units);
- // Sends ViewHostMsg_StartCapturingKeyStrokes to the browser.
+ // Sends ChromeViewHostMsg_StartCapturingKeyStrokes to the browser.
void StartCapturingKeyStrokes();
- // Sends ViewHostMsg_StopCapturingKeyStrokes to the browser.
+ // Sends ChromeViewHostMsg_StopCapturingKeyStrokes to the browser.
void StopCapturingKeyStrokes();
+ // Send ChromeViewHostMsg_SearchBoxNavigate to the browser.
+ void NavigateToURL(const GURL& url);
+
const string16& query() const { return query_; }
bool verbatim() const { return verbatim_; }
size_t selection_start() const { return selection_start_; }

Powered by Google App Engine
This is Rietveld 408576698