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

Unified Diff: ui/linux_ui/linux_ui.h

Issue 17494005: linux_aura: Three fixes for switching themes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 7 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
Index: ui/linux_ui/linux_ui.h
diff --git a/ui/linux_ui/linux_ui.h b/ui/linux_ui/linux_ui.h
index 85decc8bf7348abd33920473fb213736e167cb53..1f58e111a52ae229d69f59a30e90c8dc17cbf617 100644
--- a/ui/linux_ui/linux_ui.h
+++ b/ui/linux_ui/linux_ui.h
@@ -47,10 +47,15 @@ class LINUX_UI_EXPORT LinuxUI : public LinuxShellDialog {
virtual bool UseNativeTheme() const = 0;
virtual gfx::Image GetThemeImageNamed(int id) const = 0;
virtual bool GetColor(int id, SkColor* color) const = 0;
+ virtual bool HasCustomImage(int id) const = 0;
// Returns a NativeTheme that will provide system colors and draw system
// style widgets.
virtual NativeTheme* GetNativeTheme() const = 0;
+
+ // Returns whether we should be using the native theme provided by this
+ // object by default.
+ virtual bool GetDefaultUsesSystemTheme() const = 0;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698