Add URL origin checks for Service Worker (un)registration
[chromium-blink-merge.git] / ui / native_theme / native_theme_aurawin.h
blob0b3a29e3cab4bee10b842e799e0f438b61aa8b0b
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_