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

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: fixed to only send ht change when there's theme image 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') | chrome/common/instant_types.h » ('J')
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 7c9f11c834bf9191966b2bb3bd1ce88cf990caac..a8a469d9b2c5b5c0df7aca1e8b1ae05138b4e345 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -30,6 +30,7 @@ class PrefService;
class Profile;
class TabContents;
class TemplateURL;
+struct ThemeBackgroundInfo;
namespace chrome {
class BrowserInstantController;
@@ -135,6 +136,14 @@ class InstantController {
// loader which will notify the renderer.
void OnActiveTabModeChanged(bool active_tab_is_ntp);
+ // The theme has changed. Pass the message down to the loader which will
+ // notify the renderer.
+ void OnThemeChanged(const ThemeBackgroundInfo& theme_info);
+
+ // The theme area height has changed. Pass the message down to the loader
+ // which will notify the renderer.
+ void OnThemeAreaHeightChanged(int height);
+
// Returns whether the preview will be committed when the mouse or touch
// pointer is released.
bool commit_on_pointer_release() const;
« no previous file with comments | « no previous file | chrome/browser/instant/instant_controller.cc » ('j') | chrome/common/instant_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698