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_; } |