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

Unified Diff: chrome/browser/ui/search/instant_page.h

Issue 14646034: Add onfocuschange to the Extended Search API, with associated isFocused attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unit tests Created 7 years, 7 months 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/instant_page.h
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
index 5edf008da7b97b32ce9d70150e9217bd6429415b..0559ad39f0687f7b75889d56eb96cbfb83d2548f 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -184,8 +184,9 @@ class InstantPage : public content::WebContentsObserver {
// Tells the page whether it is allowed to display Instant results.
void SetDisplayInstantResults(bool display_instant_results);
- // Tells the page whether the browser is capturing user key strokes.
- void KeyCaptureChanged(bool is_key_capture_enabled);
+ // Tells the page that the input focus has changed.
samarth 2013/05/22 04:40:56 nit: s/input/omnibox/
Donn Denman 2013/05/22 17:37:36 Done.
+ void FocusChanged(OmniboxFocusState state,
samarth 2013/05/22 04:40:56 nit: fits on one line?
Donn Denman 2013/05/22 17:37:36 Done.
+ OmniboxFocusChangeReason reason);
// Tells the page about new Most Visited data.
void SendMostVisitedItems(

Powered by Google App Engine
This is Rietveld 408576698