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

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

Issue 9565021: ui/gfx: Drop unused args from PaintMenuBackgroundColor() and pass gfx::Size instead of gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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_aura.cc ('k') | ui/gfx/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_GFX_NATIVE_THEME_BASE_H_ 5 #ifndef UI_GFX_NATIVE_THEME_BASE_H_
6 #define UI_GFX_NATIVE_THEME_BASE_H_ 6 #define UI_GFX_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 "skia/ext/platform_canvas.h" 10 #include "skia/ext/platform_canvas.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 State state, 75 State state,
76 const gfx::Rect& rect, 76 const gfx::Rect& rect,
77 const TextFieldExtraParams& text) const; 77 const TextFieldExtraParams& text) const;
78 78
79 virtual void PaintMenuList( 79 virtual void PaintMenuList(
80 SkCanvas* canvas, 80 SkCanvas* canvas,
81 State state, 81 State state,
82 const gfx::Rect& rect, 82 const gfx::Rect& rect,
83 const MenuListExtraParams& menu_list) const; 83 const MenuListExtraParams& menu_list) const;
84 84
85 virtual void PaintMenuPopupBackground( 85 virtual void PaintMenuPopupBackground(SkCanvas* canvas,
86 SkCanvas* canvas, 86 const gfx::Size& size) const;
87 State state,
88 const gfx::Rect& rect,
89 const MenuListExtraParams& menu_list) const;
90 87
91 virtual void PaintMenuItemBackground( 88 virtual void PaintMenuItemBackground(
92 SkCanvas* canvas, 89 SkCanvas* canvas,
93 State state, 90 State state,
94 const gfx::Rect& rect, 91 const gfx::Rect& rect,
95 const MenuListExtraParams& menu_list) const; 92 const MenuListExtraParams& menu_list) const;
96 93
97 virtual void PaintSliderTrack( 94 virtual void PaintSliderTrack(
98 SkCanvas* canvas, 95 SkCanvas* canvas,
99 State state, 96 State state,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 154
158 static unsigned int scrollbar_width_; 155 static unsigned int scrollbar_width_;
159 static unsigned int button_length_; 156 static unsigned int button_length_;
160 157
161 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); 158 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase);
162 }; 159 };
163 160
164 } // namespace gfx 161 } // namespace gfx
165 162
166 #endif // UI_GFX_NATIVE_THEME_BASE_H_ 163 #endif // UI_GFX_NATIVE_THEME_BASE_H_
OLDNEW
« no previous file with comments | « ui/gfx/native_theme_aura.cc ('k') | ui/gfx/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698