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

Unified Diff: ui/native_theme/native_theme_aura.h

Issue 2483683002: Try to get rid of all direct references to particular native themes. (Closed)
Patch Set: Created 4 years, 1 month 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 | « ui/native_theme/native_theme_android.cc ('k') | ui/native_theme/native_theme_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_aura.h
diff --git a/ui/native_theme/native_theme_aura.h b/ui/native_theme/native_theme_aura.h
index e2fbfc4e741f42ac764795f448c36849b3579edd..347327ff22a1779ce8be143cf1124a7fea4b9971 100644
--- a/ui/native_theme/native_theme_aura.h
+++ b/ui/native_theme/native_theme_aura.h
@@ -12,11 +12,12 @@ namespace ui {
// Aura implementation of native theme support.
class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase {
- public:
+ protected:
+ friend NativeTheme;
static NativeThemeAura* instance();
+ static NativeThemeAura* web_instance();
- protected:
- NativeThemeAura();
+ explicit NativeThemeAura(bool use_overlay_scrollbars);
~NativeThemeAura() override;
// Overridden from NativeThemeBase:
@@ -52,6 +53,8 @@ class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase {
const ExtraParams& extra) const override;
private:
+ bool use_overlay_scrollbars_;
+
DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
};
« no previous file with comments | « ui/native_theme/native_theme_android.cc ('k') | ui/native_theme/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698