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

Unified Diff: chrome/browser/ui/search/search_tab_helper.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/browser/ui/search/search_tab_helper.h
diff --git a/chrome/browser/ui/search/search_tab_helper.h b/chrome/browser/ui/search/search_tab_helper.h
index 5a40934db34db89d88136bf9dbc53ec9fc1ee608..244af8ba813fb579b01cb0bd474a0f9f746cadab 100644
--- a/chrome/browser/ui/search/search_tab_helper.h
+++ b/chrome/browser/ui/search/search_tab_helper.h
@@ -43,6 +43,12 @@ class SearchTabHelper : public content::WebContentsObserver,
// the notification system and shouldn't call this method.
void NavigationEntryUpdated();
+ // Invoked when the searchbox on the Instant overlay receives focus.
+ void OnWebSearchBoxFocus();
+
+ // Invoked when the searchbox on the Instant overlay loses focus.
+ void OnWebSearchBoxBlur();
+
// Overridden from contents::WebContentsObserver:
virtual void NavigateToPendingEntry(
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698