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

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 scott's comments 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
Index: chrome/browser/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index 73bdedf58fcabace08e0edbc1156a1f8b3d81866..bb9f9c693d6a25cd6063b18be2326a8ed3b6122d 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -31,6 +31,7 @@ class PrefService;
class Profile;
class TabContents;
class TemplateURL;
+struct ThemeBackgroundInfo;
namespace chrome {
class BrowserInstantController;
@@ -136,6 +137,14 @@ class InstantController {
// the loader which will notify the renderer.
void OnActiveTabModeChanged(chrome::search::Mode new_mode);
+ // The theme has changed. Pass the message down to the loader which will
+ // notify the renderer.
+ void OnThemeChanged(const ThemeBackgroundInfo& theme_info);
sreeram 2012/11/19 18:12:02 Nit: Drop the "On". Just ThemeChanged() and "Theme
kuan 2012/11/19 22:06:07 Done.
+
+ // 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/browser/instant/instant_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698