summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_titlebar.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 20:56:15 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 20:56:15 +0000
commiteeb49f7211391245d1468ca5b2ec16cb430fbd41 (patch)
tree62018ba939cec89df4901bfd7e1d3d18bb433fd9 /chrome/browser/gtk/browser_titlebar.h
parent0ee2861b2b02700e8df8b4c6bcc956223bf0f22a (diff)
downloadchromium_src-eeb49f7211391245d1468ca5b2ec16cb430fbd41.zip
chromium_src-eeb49f7211391245d1468ca5b2ec16cb430fbd41.tar.gz
chromium_src-eeb49f7211391245d1468ca5b2ec16cb430fbd41.tar.bz2
Move the titlebar background drawing from the titlebar to the
browser window. This fixes a visual bug where the border looked disconnected with the background. This matches what Windows does. BUG=14884 Review URL: http://codereview.chromium.org/140078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_titlebar.h')
-rw-r--r--chrome/browser/gtk/browser_titlebar.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/gtk/browser_titlebar.h b/chrome/browser/gtk/browser_titlebar.h
index b491625..1dc8121 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_;
};