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

Side by Side Diff: ui/base/native_theme/native_theme_aura.h

Issue 10387121: Revert 136996 - ui: Move NativeTheme files into ui/base/native_theme/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/base/native_theme/native_theme_android.cc ('k') | ui/base/native_theme/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_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
6 #define UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "ui/base/native_theme/native_theme_base.h"
12
13 namespace gfx{
14 class Rect;
15 class Size;
16 }
17
18 namespace ui {
19
20 class NativeThemeAura : public NativeThemeBase {
21 public:
22 static const NativeThemeAura* instance();
23
24 private:
25 NativeThemeAura();
26 virtual ~NativeThemeAura();
27
28 // Overridden from NativeThemeBase:
29 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
30 virtual void PaintMenuPopupBackground(SkCanvas* canvas,
31 const gfx::Size& size) const OVERRIDE;
32 virtual void PaintScrollbarTrack(
33 SkCanvas* canvas,
34 Part part,
35 State state,
36 const ScrollbarTrackExtraParams& extra_params,
37 const gfx::Rect& rect) const OVERRIDE;
38 virtual void PaintArrowButton(SkCanvas* canvas,
39 const gfx::Rect& rect,
40 Part direction,
41 State state) const OVERRIDE;
42 virtual void PaintScrollbarThumb(SkCanvas* canvas,
43 Part part,
44 State state,
45 const gfx::Rect& rect) const OVERRIDE;
46
47 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
48 };
49
50 } // namespace ui
51
52 #endif // UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
OLDNEW
« no previous file with comments | « ui/base/native_theme/native_theme_android.cc ('k') | ui/base/native_theme/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698