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

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

Issue 7517020: First pass at removal of unneeded dependencies on skia\ext\platform_canvas.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « ui/gfx/canvas.h ('k') | ui/gfx/native_theme_win.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef UI_GFX_NATIVE_THEME_H_
6 #define UI_GFX_NATIVE_THEME_H_ 6 #define UI_GFX_NATIVE_THEME_H_
7 #pragma once 7 #pragma once
8 8
9 #include "skia/ext/platform_canvas.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 #include "ui/ui_api.h" 11 #include "ui/ui_api.h"
12 12
13 class SkCanvas;
14
13 namespace gfx { 15 namespace gfx {
14 16
15 class Rect; 17 class Rect;
16 class Size; 18 class Size;
17 19
18 // This class supports drawing UI controls (like buttons, text fields, lists, 20 // This class supports drawing UI controls (like buttons, text fields, lists,
19 // comboboxes, etc) that look like the native UI controls of the underlying 21 // comboboxes, etc) that look like the native UI controls of the underlying
20 // platform, such as Windows or Linux. 22 // platform, such as Windows or Linux.
21 // 23 //
22 // The supported control types are listed in the Part enum. These parts can be 24 // The supported control types are listed in the Part enum. These parts can be
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 static unsigned int thumb_inactive_color_; 224 static unsigned int thumb_inactive_color_;
223 static unsigned int thumb_active_color_; 225 static unsigned int thumb_active_color_;
224 static unsigned int track_color_; 226 static unsigned int track_color_;
225 227
226 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 228 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
227 }; 229 };
228 230
229 } // namespace gfx 231 } // namespace gfx
230 232
231 #endif // UI_GFX_NATIVE_THEME_H_ 233 #endif // UI_GFX_NATIVE_THEME_H_
OLDNEW
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698