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

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 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 | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/instant/instant_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_loader.h
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h
index cf52b68aac45baa3b1a93cd9c0e6ee82470b1752..c9414903816ac3c56be80fb21846f196bd13e053 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 WebContents;
@@ -67,6 +68,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);
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/instant/instant_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698