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

Unified Diff: app/theme_provider.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 | « no previous file | chrome/browser/browser_theme_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/theme_provider.h
===================================================================
--- app/theme_provider.h (revision 17403)
+++ app/theme_provider.h (working copy)
@@ -34,6 +34,10 @@
// Get the color specified by |id|.
virtual SkColor GetColor(int id) = 0;
+ // Get the property (e.g. an alignment expressed in an enum, or a width or
+ // height) specified by |id|.
+ virtual bool GetDisplayProperty(int id, int* result) = 0;
+
// Whether we should use the native system frame (typically Aero glass) or
// a custom frame.
virtual bool ShouldUseNativeFrame() = 0;
« no previous file with comments | « no previous file | chrome/browser/browser_theme_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698