Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: ui/gfx/native_theme_aura.h

Issue 10310136: ui: Move NativeTheme files into ui/base/native_theme/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/native_theme_android.cc ('k') | ui/gfx/native_theme_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_GFX_NATIVE_THEME_AURA_H_
6 #define UI_GFX_NATIVE_THEME_AURA_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "ui/gfx/native_theme_base.h"
12
13 namespace gfx {
14
15 // Aura implementation of native theme support.
16 class NativeThemeAura : public NativeThemeBase {
17 public:
18 static const NativeThemeAura* instance();
19
20 private:
21 NativeThemeAura();
22 virtual ~NativeThemeAura();
23
24 // Overridden from NativeThemeBase:
25 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
26 virtual void PaintMenuPopupBackground(SkCanvas* canvas,
27 const gfx::Size& size) const OVERRIDE;
28 virtual void PaintScrollbarTrack(
29 SkCanvas* canvas,
30 Part part,
31 State state,
32 const ScrollbarTrackExtraParams& extra_params,
33 const gfx::Rect& rect) const OVERRIDE;
34 virtual void PaintArrowButton(SkCanvas* canvas,
35 const gfx::Rect& rect,
36 Part direction,
37 State state) const OVERRIDE;
38 virtual void PaintScrollbarThumb(SkCanvas* canvas,
39 Part part,
40 State state,
41 const gfx::Rect& rect) const OVERRIDE;
42
43 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
44 };
45
46 } // namespace gfx
47
48 #endif // UI_GFX_NATIVE_THEME_AURA_H_
OLDNEW
« no previous file with comments | « ui/gfx/native_theme_android.cc ('k') | ui/gfx/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698