X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fnative_theme%2Fnative_theme_win.h;h=408818fb657cd50a8bf7268d7bd7c23b37fc66fa;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=5542f20d0a37affc63630fd85ca815af3695b38d;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/native_theme/native_theme_win.h b/src/ui/native_theme/native_theme_win.h index 5542f20..408818f 100644 --- a/src/ui/native_theme/native_theme_win.h +++ b/src/ui/native_theme/native_theme_win.h @@ -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 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); };