Index: chrome/browser/ui/libgtk2ui/gtk2_ui.h |
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_ui.h b/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
index 3297025bd7353eee91552f6ee3078ce7312760bb..734f77d3568f54d447b5142f99ca2942f75d6cb9 100644 |
--- a/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
+++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
@@ -17,7 +17,6 @@ |
#include "chrome/browser/ui/libgtk2ui/owned_widget_gtk2.h" |
#include "ui/events/linux/text_edit_key_bindings_delegate_auralinux.h" |
#include "ui/gfx/color_utils.h" |
-#include "ui/gfx/geometry/insets.h" |
#include "ui/views/linux_ui/linux_ui.h" |
#include "ui/views/window/frame_buttons.h" |
@@ -60,9 +59,6 @@ class Gtk2UI : public views::LinuxUI { |
int width, |
int height) const; |
- // Returns the current insets for a button. |
- gfx::Insets GetButtonInsets() const; |
- |
// ui::LinuxInputMethodContextFactory: |
virtual scoped_ptr<ui::LinuxInputMethodContext> CreateInputMethodContext( |
ui::LinuxInputMethodContextDelegate* delegate) const OVERRIDE; |
@@ -190,10 +186,6 @@ class Gtk2UI : public views::LinuxUI { |
// entry. |
void GetSelectedEntryForegroundHSL(color_utils::HSL* tint) const; |
- // Create a GTK window and button and queries what "default-border" is, which |
- // corresponds with our insets. |
- void UpdateButtonInsets(); |
- |
// Frees all calculated images and color data. |
void ClearAllThemeData(); |
@@ -229,8 +221,6 @@ class Gtk2UI : public views::LinuxUI { |
SkColor inactive_selection_bg_color_; |
SkColor inactive_selection_fg_color_; |
- gfx::Insets button_insets_; |
- |
#if defined(USE_GCONF) |
// Currently, the only source of window button configuration. This will |
// change if we ever have to support XFCE's configuration system or KDE's. |