Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / native_theme / native_theme_win.h
index 5542f20..408818f 100644 (file)
@@ -54,6 +54,9 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
 
   bool IsThemingActive() const;
 
+  // Returns true if a high contrast theme is being used.
+  bool IsUsingHighContrastTheme() const;
+
   HRESULT GetThemeColor(ThemeName theme,
                         int part_id,
                         int state_id,
@@ -356,6 +359,12 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
   gfx::ScopedSysColorChangeListener color_change_listener_;
   mutable std::map<int, SkColor> system_colors_;
 
+  // Is a high contrast theme active?
+  mutable bool is_using_high_contrast_;
+
+  // Is |is_using_high_contrast_| valid?
+  mutable bool is_using_high_contrast_valid_;
+
   DISALLOW_COPY_AND_ASSIGN(NativeThemeWin);
 };