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

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

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/native_theme.h ('k') | views/controls/image_view.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 #include "ui/gfx/native_theme_win.h" 5 #include "ui/gfx/native_theme_win.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/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_handle.h" 13 #include "base/memory/scoped_handle.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/win/scoped_gdi_object.h" 15 #include "base/win/scoped_gdi_object.h"
16 #include "base/win/scoped_hdc.h" 16 #include "base/win/scoped_hdc.h"
17 #include "base/win/windows_version.h" 17 #include "base/win/windows_version.h"
18 #include "skia/ext/platform_canvas.h"
18 #include "skia/ext/skia_utils_win.h" 19 #include "skia/ext/skia_utils_win.h"
19 #include "third_party/skia/include/core/SkCanvas.h" 20 #include "third_party/skia/include/core/SkCanvas.h"
20 #include "third_party/skia/include/core/SkColorPriv.h" 21 #include "third_party/skia/include/core/SkColorPriv.h"
21 #include "third_party/skia/include/core/SkShader.h" 22 #include "third_party/skia/include/core/SkShader.h"
22 #include "ui/gfx/gdi_util.h" 23 #include "ui/gfx/gdi_util.h"
23 #include "ui/gfx/rect.h" 24 #include "ui/gfx/rect.h"
24 25
25 namespace { 26 namespace {
26 27
27 void SetCheckerboardShader(SkPaint* paint, const RECT& align_rect) { 28 void SetCheckerboardShader(SkPaint* paint, const RECT& align_rect) {
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 } 1652 }
1652 break; 1653 break;
1653 default: 1654 default:
1654 NOTREACHED() << "Invalid part: " << part; 1655 NOTREACHED() << "Invalid part: " << part;
1655 break; 1656 break;
1656 } 1657 }
1657 return state_id; 1658 return state_id;
1658 } 1659 }
1659 1660
1660 } // namespace gfx 1661 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/native_theme.h ('k') | views/controls/image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698