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

Unified Diff: chrome/browser/dom_ui/dom_ui_theme_source.h

Issue 115910: Allow themes to change the background of the new tab page.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months 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/browser_theme_provider.cc ('k') | chrome/browser/dom_ui/dom_ui_theme_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/dom_ui_theme_source.h
===================================================================
--- chrome/browser/dom_ui/dom_ui_theme_source.h (revision 17403)
+++ chrome/browser/dom_ui/dom_ui_theme_source.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_DOM_UI_DOM_UI_THEME_SOURCE_H_
#define CHROME_BROWSER_DOM_UI_DOM_UI_THEME_SOURCE_H_
+#include <string>
+
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
class Profile;
@@ -29,6 +31,10 @@
// Fetch and send the theme bitmap.
void SendThemeBitmap(int request_id, int resource_id);
+ // Get the CSS string for the background position on the new tab page for the
+ // states when the bar is attached or detached.
+ std::string GetNewTabBackgroundCSS(bool bar_attached);
+
Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(DOMUIThemeSource);
};
« no previous file with comments | « chrome/browser/browser_theme_provider.cc ('k') | chrome/browser/dom_ui/dom_ui_theme_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698