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

Unified Diff: chrome/browser/instant/instant_loader.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_loader.h
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h
index 1f52b16cc6c26778a572a1dea6f82cf0a78b4e00..6f3f7e374de32ad11febd32b1e961eaa9ab68976 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -20,6 +20,7 @@
struct InstantAutocompleteResult;
class InstantController;
class TabContents;
+struct ThemeBackgroundInfo;
namespace content {
class NotificationDetails;
@@ -69,6 +70,12 @@ class InstantLoader : public content::NotificationObserver {
void SendAutocompleteResults(
const std::vector<InstantAutocompleteResult>& results);
+ // Tells the preview page about the current theme background.
+ void SendThemeBackgroundInfo(const ThemeBackgroundInfo& theme_info);
+
+ // Tells the preview page about the current theme area height.
+ void SendThemeAreaHeight(int height);
+
// Tells the preview page that the user pressed the up or down key. |count|
// is a repeat count, negative for moving up, positive for moving down.
void OnUpOrDownKeyPressed(int count);

Powered by Google App Engine
This is Rietveld 408576698