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

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: Rebase. 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 2327b27d3e6745103154f664b8e545f38e237e72..dad3aaefc4edc07f23d6d854e1bb926341575ba8 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -33,6 +33,12 @@ class SearchBox : public content::RenderViewObserver,
int height,
InstantSizeUnits units);
+ // Sends ViewHostMsg_StartCapturingKeyStrokes to the browser.
+ void StartCapturingKeyStrokes();
+
+ // Sends ViewHostMsg_StopCapturingKeyStrokes to the browser.
+ void StopCapturingKeyStrokes();
+
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