| Index: chrome/renderer/searchbox/searchbox.h
|
| diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
|
| index 445d4dcc3700d7577adaf56454a2722c9ca4f9ea..173706b6a6e529d49124e3e9ecd3c93b7538a524 100644
|
| --- a/chrome/renderer/searchbox/searchbox.h
|
| +++ b/chrome/renderer/searchbox/searchbox.h
|
| @@ -28,8 +28,15 @@ class SearchBox : public content::RenderViewObserver,
|
| virtual ~SearchBox();
|
|
|
| // Sends ChromeViewHostMsg_SetSuggestions to the browser.
|
| + // If |suggestions| is non-empty and the first element in |suggestions| is of
|
| + // type INSTANT_COMPLETE_REPLACE then this method will also update the current
|
| + // query text.
|
| void SetSuggestions(const std::vector<InstantSuggestion>& suggestions);
|
|
|
| + // Clears the current query text, used to ensure that restricted query strings
|
| + // are not retained.
|
| + void ClearQuery();
|
| +
|
| // Sends ChromeViewHostMsg_ShowInstantOverlay to the browser.
|
| void ShowInstantOverlay(InstantShownReason reason,
|
| int height,
|
|
|