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

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

Issue 11369137: Implement {Start,Stop}CapturingKeyStrokes for Instant. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Keep invisible focus state in OmniboxEditModel. Created 8 years, 1 month 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 43ea959520d2c9ae31d76d87eb660a20c07f26f8..3a9189395fbe5580b9f3df45d1393ebf1d5005d4 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -27,6 +27,9 @@ class SearchBox : public content::RenderViewObserver,
// Sends ViewHostMsg_SetSuggestions to the browser.
void SetSuggestions(const std::vector<InstantSuggestion>& suggestions);
+ // Sends ViewHostMsg_OnWebSearchBoxFocusChange to the browser.
+ void OnWebSearchBoxFocusChange(bool is_focused);
+
// Sends ViewHostMsg_ShowInstantPreview to the browser.
void ShowInstantPreview(InstantShownReason reason,
int height,

Powered by Google App Engine
This is Rietveld 408576698