1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_ 7 8 #include "base/basictypes.h" 9 #include "base/compiler_specific.h" 10 #include "ui/native_theme/native_theme_aura.h" 11 12 namespace ui { 13 14 // Aura implementation of native theme support. 15 class NATIVE_THEME_EXPORT NativeThemeAuraWin : public NativeThemeAura { 16 public: 17 static NativeThemeAuraWin* instance(); 18 19 private: 20 NativeThemeAuraWin(); 21 virtual ~NativeThemeAuraWin(); 22 23 // Overridden from NativeThemeBase: 24 virtual gfx::Size GetPartSize(Part part, 25 State state, 26 const ExtraParams& extra) const OVERRIDE; 27 virtual void Paint(SkCanvas* canvas, 28 Part part, 29 State state, 30 const gfx::Rect& rect, 31 const ExtraParams& extra) const OVERRIDE; 32 DISALLOW_COPY_AND_ASSIGN(NativeThemeAuraWin); 33 }; 34 35 } // namespace ui 36 37 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_ 38