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

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

Issue 10875054: aura: Let NativeThemeBase paint ArrowButtons for aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 4 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 | « no previous file | 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_ 5 #ifndef UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
6 #define UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_ 6 #define UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/base/native_theme/native_theme_base.h" 10 #include "ui/base/native_theme/native_theme_base.h"
(...skipping 12 matching lines...) Expand all
23 // Overridden from NativeThemeBase: 23 // Overridden from NativeThemeBase:
24 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE; 24 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
25 virtual void PaintMenuPopupBackground(SkCanvas* canvas, 25 virtual void PaintMenuPopupBackground(SkCanvas* canvas,
26 const gfx::Size& size) const OVERRIDE; 26 const gfx::Size& size) const OVERRIDE;
27 virtual void PaintScrollbarTrack( 27 virtual void PaintScrollbarTrack(
28 SkCanvas* canvas, 28 SkCanvas* canvas,
29 Part part, 29 Part part,
30 State state, 30 State state,
31 const ScrollbarTrackExtraParams& extra_params, 31 const ScrollbarTrackExtraParams& extra_params,
32 const gfx::Rect& rect) const OVERRIDE; 32 const gfx::Rect& rect) const OVERRIDE;
33 virtual void PaintArrowButton(SkCanvas* canvas,
34 const gfx::Rect& rect,
35 Part direction,
36 State state) const OVERRIDE;
37 virtual void PaintScrollbarThumb(SkCanvas* canvas, 33 virtual void PaintScrollbarThumb(SkCanvas* canvas,
38 Part part, 34 Part part,
39 State state, 35 State state,
40 const gfx::Rect& rect) const OVERRIDE; 36 const gfx::Rect& rect) const OVERRIDE;
41 37
42 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); 38 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
43 }; 39 };
44 40
45 } // namespace ui 41 } // namespace ui
46 42
47 #endif // UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_ 43 #endif // UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/native_theme/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698