Chromium Code Reviews| 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; |