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

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

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_view_gtk.h ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/extension_view_gtk.cc
diff --git a/chrome/browser/gtk/extension_view_gtk.cc b/chrome/browser/gtk/extension_view_gtk.cc
index e2712cf8702f255fc344409d56cc0f2c0b4f20fc..4c06cfbdfeaeb7ffca9fb8bb1c809263bdafd265 100644
--- a/chrome/browser/gtk/extension_view_gtk.cc
+++ b/chrome/browser/gtk/extension_view_gtk.cc
@@ -28,6 +28,10 @@ RenderViewHost* ExtensionViewGtk::render_view_host() const {
return extension_host_->render_view_host();
}
+void ExtensionViewGtk::SetBackground(const SkBitmap& background) {
+ render_widget_host_view_->SetBackground(background);
+}
+
void ExtensionViewGtk::UpdatePreferredWidth(int pref_width) {
gtk_widget_set_size_request(native_view(), pref_width, -1);
}
« no previous file with comments | « chrome/browser/gtk/extension_view_gtk.h ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698