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

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

Issue 140078: Move the titlebar background drawing from the titlebar to the (Closed)
Patch Set: rebase Created 11 years, 6 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/gtk/browser_titlebar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_titlebar.h
diff --git a/chrome/browser/gtk/browser_titlebar.h b/chrome/browser/gtk/browser_titlebar.h
index b4916256034c1f145d0d0848774b458b549fe515..1dc8121e0832d5475792abea39cc61d3da3fd176 100644
--- a/chrome/browser/gtk/browser_titlebar.h
+++ b/chrome/browser/gtk/browser_titlebar.h
@@ -14,7 +14,6 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/gtk/menu_gtk.h"
-#include "chrome/browser/gtk/nine_box.h"
class BrowserWindowGtk;
class CustomDrawButton;
@@ -51,11 +50,6 @@ class BrowserTitlebar : public MenuGtk::Delegate {
int image_hot, GtkWidget* box,
int tooltip);
- // Callback for when the titlebar (include the background of the tab strip)
- // needs to be redrawn.
- static gboolean OnExpose(GtkWidget* widget, GdkEventExpose* e,
- BrowserTitlebar* window);
-
// Callback for changes to window state. This includes
// maximizing/restoring/minimizing the window.
static gboolean OnWindowStateChanged(GtkWindow* window,
@@ -91,10 +85,6 @@ class BrowserTitlebar : public MenuGtk::Delegate {
scoped_ptr<CustomDrawButton> restore_button_;
scoped_ptr<CustomDrawButton> close_button_;
- // The background of the title bar and tab strip.
- scoped_ptr<NineBox> titlebar_background_;
- scoped_ptr<NineBox> titlebar_background_otr_;
-
// The context menu.
scoped_ptr<MenuGtk> context_menu_;
};
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_titlebar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698