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

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

Issue 11588: Remove base versions of the graphics headers, which previously just forwarded... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/bitmap_platform_device_win.h ('k') | base/gfx/platform_canvas_win.h » ('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 #include "base/gfx/native_theme.h" 5 #include "base/gfx/native_theme.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <uxtheme.h> 8 #include <uxtheme.h>
9 #include <vsstyle.h> 9 #include <vsstyle.h>
10 #include <vssym32.h> 10 #include <vssym32.h>
11 11
12 #include "base/gfx/gdi_util.h" 12 #include "base/gfx/gdi_util.h"
13 #include "base/gfx/platform_canvas_win.h"
14 #include "base/gfx/skia_utils.h" 13 #include "base/gfx/skia_utils.h"
15 #include "base/gfx/rect.h" 14 #include "base/gfx/rect.h"
16 #include "base/logging.h" 15 #include "base/logging.h"
17 #include "base/scoped_handle.h" 16 #include "base/scoped_handle.h"
17 #include "skia/ext/platform_canvas.h"
18 #include "skia/include/SkShader.h" 18 #include "skia/include/SkShader.h"
19 19
20 namespace gfx { 20 namespace gfx {
21 21
22 /* static */ 22 /* static */
23 const NativeTheme* NativeTheme::instance() { 23 const NativeTheme* NativeTheme::instance() {
24 // The global NativeTheme instance. 24 // The global NativeTheme instance.
25 static const NativeTheme s_native_theme; 25 static const NativeTheme s_native_theme;
26 return &s_native_theme; 26 return &s_native_theme;
27 } 27 }
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 break; 603 break;
604 default: 604 default:
605 NOTREACHED(); 605 NOTREACHED();
606 } 606 }
607 theme_handles_[theme_name] = handle; 607 theme_handles_[theme_name] = handle;
608 return handle; 608 return handle;
609 } 609 }
610 610
611 } // namespace gfx 611 } // namespace gfx
612 612
OLDNEW
« no previous file with comments | « base/gfx/bitmap_platform_device_win.h ('k') | base/gfx/platform_canvas_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698