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

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

Issue 174585: Draw background of Linux extension toolstrips. (Closed)
Patch Set: Created 11 years, 4 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/extension_shelf_gtk.cc ('k') | chrome/browser/gtk/extension_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/extension_view_gtk.h
diff --git a/chrome/browser/gtk/extension_view_gtk.h b/chrome/browser/gtk/extension_view_gtk.h
index 495039d2d00395f6794f1f15b2606467403aef69..7612c94091978272aa45483148ec5ec7cdf6b90d 100644
--- a/chrome/browser/gtk/extension_view_gtk.h
+++ b/chrome/browser/gtk/extension_view_gtk.h
@@ -12,6 +12,7 @@ class Browser;
class ExtensionHost;
class RenderViewHost;
class RenderWidgetHostViewGtk;
+class SkBitmap;
class ExtensionViewGtk {
public:
@@ -25,6 +26,8 @@ class ExtensionViewGtk {
bool is_toolstrip() const { return is_toolstrip_; }
void set_is_toolstrip(bool is_toolstrip) { is_toolstrip_ = is_toolstrip; }
+ void SetBackground(const SkBitmap& background);
+
// Method for the ExtensionHost to notify us about the correct width for
// extension contents.
void UpdatePreferredWidth(int pref_width);
« no previous file with comments | « chrome/browser/gtk/extension_shelf_gtk.cc ('k') | chrome/browser/gtk/extension_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698