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

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: Fix indent issues. 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..acf8be0d04b45dd8f9fd65ceb59e9651e0e54d34 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -184,8 +184,11 @@ 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. This may cause the
samarth 2013/05/15 19:05:53 nit: just "Tells the page that the omnibox focus h
Donn Denman 2013/05/20 23:48:14 Done.
+ // browser's method of capturing user key strokes to also change.
+ // The new focus state, and reason for the change is provided.
+ void FocusChanged(OmniboxFocusState state,
+ OmniboxFocusChangeReason reason);
// Tells the page about new Most Visited data.
void SendMostVisitedItems(

Powered by Google App Engine
This is Rietveld 408576698