| Index: chrome/renderer/searchbox/searchbox.h
|
| diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
|
| index d2d752ab2ebc79a0c4ceb21696b5b2c2f8f0de3e..a921ee7660bfc3bb66b4a079938d4f428174f871 100644
|
| --- a/chrome/renderer/searchbox/searchbox.h
|
| +++ b/chrome/renderer/searchbox/searchbox.h
|
| @@ -48,6 +48,8 @@ class SearchBox : public content::RenderViewObserver,
|
| // Searchbox retains ownership of this object.
|
| const InstantAutocompleteResult*
|
| GetAutocompleteResultWithId(size_t restricted_id) const;
|
| + const ThemeBackgroundInfo& GetThemeBackgroundInfo();
|
| + int GetThemeAreaHeight();
|
|
|
| private:
|
| // RenderViewObserver implementation.
|
| @@ -67,6 +69,8 @@ class SearchBox : public content::RenderViewObserver,
|
| void OnFocus();
|
| void OnBlur();
|
| void OnActiveTabModeChanged(bool active_tab_is_ntp);
|
| + void OnThemeChanged(const ThemeBackgroundInfo& theme_info);
|
| + void OnThemeAreaHeightChanged(int height);
|
|
|
| // Sets the searchbox values to their initial value.
|
| void Reset();
|
| @@ -81,6 +85,8 @@ class SearchBox : public content::RenderViewObserver,
|
| size_t last_results_base_;
|
| std::vector<InstantAutocompleteResult> last_autocomplete_results_;
|
| bool active_tab_is_ntp_;
|
| + ThemeBackgroundInfo theme_info_;
|
| + int theme_area_height_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SearchBox);
|
| };
|
|
|