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

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

Issue 6246027: Move src/gfx/ to src/ui/gfx... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/gfx/native_theme_linux.cc ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 APP_GFX_NATIVE_THEME_WIN_H_ 11 #ifndef UI_GFX_NATIVE_THEME_WIN_H_
12 #define APP_GFX_NATIVE_THEME_WIN_H_ 12 #define UI_GFX_NATIVE_THEME_WIN_H_
13 #pragma once 13 #pragma once
14 14
15 #include <windows.h> 15 #include <windows.h>
16 #include <uxtheme.h> 16 #include <uxtheme.h>
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "gfx/size.h" 18 #include "gfx/size.h"
19 #include "third_party/skia/include/core/SkColor.h" 19 #include "third_party/skia/include/core/SkColor.h"
20 20
21 namespace skia { 21 namespace skia {
22 class PlatformCanvas; 22 class PlatformCanvas;
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 HMODULE theme_dll_; 311 HMODULE theme_dll_;
312 312
313 // A cache of open theme handles. 313 // A cache of open theme handles.
314 mutable HANDLE theme_handles_[LAST]; 314 mutable HANDLE theme_handles_[LAST];
315 315
316 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 316 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
317 }; 317 };
318 318
319 } // namespace gfx 319 } // namespace gfx
320 320
321 #endif // APP_GFX_NATIVE_THEME_WIN_H_ 321 #endif // UI_GFX_NATIVE_THEME_WIN_H_
OLDNEW
« no previous file with comments | « ui/gfx/native_theme_linux.cc ('k') | ui/gfx/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698