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

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

Issue 171413002: linux_aura: Keep GTK state from leaking between profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile. Created 6 years, 10 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/ui/cocoa/download/background_theme.mm ('k') | 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 d785480847eb33cc3f82be9f87863a1501416382..b0fb24a52cebde894f94578fb8493c839d5eb42d 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_border.h
+++ b/chrome/browser/ui/libgtk2ui/gtk2_border.h
@@ -30,9 +30,9 @@ class Gtk2Border : public views::Border {
scoped_ptr<views::Border> border);
virtual ~Gtk2Border();
- // Called on theme changes. We invalidate the layout, drop our cached images,
- // and update our GTK state.
- void InvalidateAndSetUsesGtk(bool use_gtk);
+ // Called on theme changes. We invalidate the layout and drop our cached GTK
+ // rendered images.
+ void InvalidateGtkImages();
// Overridden from views::Border:
virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE;
@@ -48,7 +48,6 @@ class Gtk2Border : public views::Border {
bool ShouldDrawBorder(bool focused, views::Button::ButtonState state);
Gtk2UI* gtk2_ui_;
- bool use_gtk_;
gfx::ImageSkia button_images_[2][views::Button::STATE_COUNT];
« no previous file with comments | « chrome/browser/ui/cocoa/download/background_theme.mm ('k') | chrome/browser/ui/libgtk2ui/gtk2_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698