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

Side by Side Diff: ui/native_theme/native_theme_base.h

Issue 146693015: Plumbs through support for painting the scrollbarcorner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bad upload Created 6 years, 10 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/native_theme/native_theme_aurawin.cc ('k') | ui/native_theme/native_theme_base.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_NATIVE_THEME_NATIVE_THEME_BASE_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_BASE_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_BASE_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 "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 State state, 54 State state,
55 const ScrollbarTrackExtraParams& extra_params, 55 const ScrollbarTrackExtraParams& extra_params,
56 const gfx::Rect& rect) const; 56 const gfx::Rect& rect) const;
57 // Draw the scrollbar thumb over the track. 57 // Draw the scrollbar thumb over the track.
58 virtual void PaintScrollbarThumb( 58 virtual void PaintScrollbarThumb(
59 SkCanvas* canvas, 59 SkCanvas* canvas,
60 Part part, 60 Part part,
61 State state, 61 State state,
62 const gfx::Rect& rect) const; 62 const gfx::Rect& rect) const;
63 63
64 virtual void PaintScrollbarCorner(SkCanvas* canvas,
65 State state,
66 const gfx::Rect& rect) const;
67
64 virtual void PaintCheckbox( 68 virtual void PaintCheckbox(
65 SkCanvas* canvas, 69 SkCanvas* canvas,
66 State state, 70 State state,
67 const gfx::Rect& rect, 71 const gfx::Rect& rect,
68 const ButtonExtraParams& button) const; 72 const ButtonExtraParams& button) const;
69 73
70 virtual void PaintRadio( 74 virtual void PaintRadio(
71 SkCanvas* canvas, 75 SkCanvas* canvas,
72 State state, 76 State state,
73 const gfx::Rect& rect, 77 const gfx::Rect& rect,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 189
186 unsigned int scrollbar_width_; 190 unsigned int scrollbar_width_;
187 unsigned int scrollbar_button_length_; 191 unsigned int scrollbar_button_length_;
188 192
189 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); 193 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase);
190 }; 194 };
191 195
192 } // namespace ui 196 } // namespace ui
193 197
194 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ 198 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme_aurawin.cc ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698