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

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: Fix which active tab we use. 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 10b3b22d1f22f83f1ac6235a4b7c679398e18ee2..88ff3b2679d432518caad5b955811f2bde4b8daa 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -31,6 +31,12 @@ class SearchBox : public content::RenderViewObserver,
// Sends ViewHostMsg_SetSuggestions to the browser.
void SetSuggestions(const std::vector<InstantSuggestion>& suggestions);
+ // Sends ViewHostMsg_OnWebSearchBoxBlur to the browser.
+ void OnWebSearchBoxBlur();
+
+ // Sends ViewHostMsg_OnWebSearchBoxFocus to the browser.
+ void OnWebSearchBoxFocus();
+
// Sends ViewHostMsg_ShowInstantPreview to the browser.
void ShowInstantPreview(InstantShownReason reason,
int height,

Powered by Google App Engine
This is Rietveld 408576698