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

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: 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..4cc484a97c53b58095a230d11a705ed254259e0e 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -191,6 +191,9 @@ class InstantPage : public content::WebContentsObserver {
void SendMostVisitedItems(
const std::vector<InstantMostVisitedItemIDPair>& items);
+ // Tells the page the Omnibox focus changed.
+ void FocusChanged(bool is_focused);
+
protected:
InstantPage(Delegate* delegate, const std::string& instant_url);

Powered by Google App Engine
This is Rietveld 408576698