summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/searchbox/searchbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/searchbox/searchbox.h')
-rw-r--r--chrome/renderer/searchbox/searchbox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 406bf4a..6c18729e 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_; }