Index: chrome/renderer/searchbox/searchbox.h |
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h |
index 441994ba3d30850bdc8d54c39ed85914caa3d88b..2bc65267fb6ae9f17a49973b6d36defe2c8925dd 100644 |
--- a/chrome/renderer/searchbox/searchbox.h |
+++ b/chrome/renderer/searchbox/searchbox.h |
@@ -69,6 +69,7 @@ class SearchBox : public content::RenderViewObserver, |
bool display_instant_results() const { return display_instant_results_; } |
const string16& omnibox_font() const { return omnibox_font_; } |
size_t omnibox_font_size() const { return omnibox_font_size_; } |
+ bool is_focused() const { return is_focused_; } |
// In extended Instant, returns the start-edge margin of the location bar in |
// screen pixels. |
@@ -143,6 +144,8 @@ class SearchBox : public content::RenderViewObserver, |
void OnMostVisitedChanged( |
const std::vector<InstantMostVisitedItemIDPair>& items); |
melevin
2013/05/09 16:41:11
No newline here.
|
+ void OnFocusChanged(bool is_focused); |
+ |
// Returns the current zoom factor of the render view or 1 on failure. |
double GetZoom() const; |
@@ -164,6 +167,7 @@ class SearchBox : public content::RenderViewObserver, |
bool display_instant_results_; |
string16 omnibox_font_; |
size_t omnibox_font_size_; |
+ bool is_focused_; |
InstantRestrictedIDCache<InstantAutocompleteResult> |
autocomplete_results_cache_; |
InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; |