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

Unified Diff: chrome/browser/instant/instant_controller.h

Issue 11413018: alternate ntp: implement searchbox api for instant overlay to adopt themes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed sreeram's comments, fixed to not set theme fields if no theme Created 8 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index c6def6c7d0df890c55db597a0c8bc30332bc58bd..8705cf36f394876b8d7cd4640c7954f664a64a27 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -29,6 +29,7 @@ class AutocompleteProvider;
class InstantLoader;
class TabContents;
class TemplateURL;
+struct ThemeBackgroundInfo;
namespace chrome {
class BrowserInstantController;
@@ -98,6 +99,14 @@ class InstantController {
// Sets whether Instant should show result previews.
void SetInstantEnabled(bool instant_enabled);
+ // The theme has changed. Pass the message down to the loader which will
+ // notify the renderer.
+ void ThemeChanged(const ThemeBackgroundInfo& theme_info);
+
+ // The theme area height has changed. Pass the message down to the loader
+ // which will notify the renderer.
+ void ThemeAreaHeightChanged(int height);
+
// Returns the transition type of the last AutocompleteMatch passed to Update.
content::PageTransition last_transition_type() const {
return last_transition_type_;
« no previous file with comments | « no previous file | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698