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

Unified Diff: chrome/browser/gtk/nine_box.h

Issue 115438: Linux: Just enough toolbar theming to make everything look normal again.... (Closed) Base URL: svn://chrome-svn/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/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/nine_box.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/nine_box.h
===================================================================
--- chrome/browser/gtk/nine_box.h (revision 16275)
+++ chrome/browser/gtk/nine_box.h (working copy)
@@ -7,6 +7,8 @@
#include <gtk/gtk.h>
+class ThemeProvider;
+
// A NineBox manages a set of source images representing a 3x3 grid, where
// non-corner images can be tiled to make a larger image. It's used to
// use bitmaps for constructing image-based resizable widgets like buttons.
@@ -24,6 +26,12 @@
// ids that will be passed to the resource bundle. Use 0 for no image.
NineBox(int top_left, int top, int top_right, int left, int center, int right,
int bottom_left, int bottom, int bottom_right);
+
+ // Same as above, but use themed images.
+ NineBox(ThemeProvider* theme_provider,
+ int top_left, int top, int top_right, int left, int center, int right,
+ int bottom_left, int bottom, int bottom_right);
+
~NineBox();
// Render the NineBox to |dst|.
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/nine_box.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698