Revert of Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320) (patchset...
[chromium-blink-merge.git] / ui / native_theme / native_theme_aurawin.h
blob7c7e57d6c574ec271b806fd200b19e832c4d8260
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.
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/native_theme/native_theme_aura.h"
12 namespace ui {
14 // Aura implementation of native theme support.
15 class NATIVE_THEME_EXPORT NativeThemeAuraWin : public NativeThemeAura {
16 public:
17 static NativeThemeAuraWin* instance();
19 private:
20 NativeThemeAuraWin();
21 virtual ~NativeThemeAuraWin();
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);
35 } // namespace ui
37 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_