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

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

Issue 65012: Move skia to DEPS, and put it in third_party. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « base/gfx/jpeg_codec.cc ('k') | base/gfx/native_theme.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // A wrapper class for working with custom XP/Vista themes provided in 5 // A wrapper class for working with custom XP/Vista themes provided in
6 // uxtheme.dll. This is a singleton class that can be grabbed using 6 // uxtheme.dll. This is a singleton class that can be grabbed using
7 // NativeTheme::instance(). 7 // NativeTheme::instance().
8 // For more information on visual style parts and states, see: 8 // For more information on visual style parts and states, see:
9 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/plat form/commctls/userex/topics/partsandstates.asp 9 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/plat form/commctls/userex/topics/partsandstates.asp
10 10
11 #ifndef BASE_GFX_NATIVE_THEME_H__ 11 #ifndef BASE_GFX_NATIVE_THEME_H__
12 #define BASE_GFX_NATIVE_THEME_H__ 12 #define BASE_GFX_NATIVE_THEME_H__
13 13
14 #include <windows.h> 14 #include <windows.h>
15 #include <uxtheme.h> 15 #include <uxtheme.h>
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
17 #include "base/gfx/size.h" 17 #include "base/gfx/size.h"
18 #include "skia/include/SkColor.h" 18 #include "third_party/skia/include/core/SkColor.h"
19 19
20 namespace skia { 20 namespace skia {
21 class PlatformCanvasWin; 21 class PlatformCanvasWin;
22 } // namespace skia 22 } // namespace skia
23 23
24 namespace gfx { 24 namespace gfx {
25 25
26 // TODO: Define class member enums to replace part_id and state_id parameters 26 // TODO: Define class member enums to replace part_id and state_id parameters
27 // that are currently defined in <vssym32.h>. Afterward, classic_state should 27 // that are currently defined in <vssym32.h>. Afterward, classic_state should
28 // be removed and class users wouldn't need to include <vssym32.h> anymore. 28 // be removed and class users wouldn't need to include <vssym32.h> anymore.
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 287
288 // A cache of open theme handles. 288 // A cache of open theme handles.
289 mutable HANDLE theme_handles_[LAST]; 289 mutable HANDLE theme_handles_[LAST];
290 290
291 DISALLOW_EVIL_CONSTRUCTORS(NativeTheme); 291 DISALLOW_EVIL_CONSTRUCTORS(NativeTheme);
292 }; 292 };
293 293
294 } // namespace gfx 294 } // namespace gfx
295 295
296 #endif // BASE_GFX_NATIVE_THEME_H__ 296 #endif // BASE_GFX_NATIVE_THEME_H__
OLDNEW
« no previous file with comments | « base/gfx/jpeg_codec.cc ('k') | base/gfx/native_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698