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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_border.h

Issue 243703009: Linux Aura: Use appropriate button style depending on aura/gtk NativeTheme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updat Created 6 years, 8 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/ui/libgtk2ui/gtk2_border.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/gtk2_border.h
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_border.h b/chrome/browser/ui/libgtk2ui/gtk2_border.h
index c201f466357d329ea06b529d616ffc49d7788667..c43a4e4ed1453bfdd9b81de541df5308263921bd 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_border.h
+++ b/chrome/browser/ui/libgtk2ui/gtk2_border.h
@@ -28,8 +28,7 @@ class Gtk2Border : public views::Border,
public views::NativeThemeChangeObserver {
public:
Gtk2Border(Gtk2UI* gtk2_ui,
- views::LabelButton* owning_button,
- scoped_ptr<views::Border> border);
+ views::LabelButton* owning_button);
virtual ~Gtk2Border();
// Overridden from views::Border:
@@ -56,11 +55,6 @@ class Gtk2Border : public views::Border,
// force invalidate the layout on theme changes.
views::LabelButton* owning_button_;
- // Since we don't want to expose the concept of whether we're using a GTK
- // theme down to the cross platform views layer, we keep a normal Border and
- // delegate to it whenever we aren't in GTK theme mode.
- scoped_ptr<views::Border> border_;
-
DISALLOW_COPY_AND_ASSIGN(Gtk2Border);
};
« no previous file with comments | « no previous file | chrome/browser/ui/libgtk2ui/gtk2_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698