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

Side by Side Diff: skia/ext/platform_device_win.h

Issue 118420: Adds kind-of-live thumbnail generation for a potential tab switcher. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « chrome/test/unit/unittests.vcproj ('k') | no next file » | 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 #ifndef SKIA_EXT_PLATFORM_DEVICE_WIN_H_ 5 #ifndef SKIA_EXT_PLATFORM_DEVICE_WIN_H_
6 #define SKIA_EXT_PLATFORM_DEVICE_WIN_H_ 6 #define SKIA_EXT_PLATFORM_DEVICE_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "SkDevice.h" 12 #include "third_party/skia/include/core/SkDevice.h"
13 13
14 class SkMatrix; 14 class SkMatrix;
15 class SkPath; 15 class SkPath;
16 class SkRegion; 16 class SkRegion;
17 17
18 namespace skia { 18 namespace skia {
19 19
20 // A device is basically a wrapper around SkBitmap that provides a surface for 20 // A device is basically a wrapper around SkBitmap that provides a surface for
21 // SkCanvas to draw into. Our device provides a surface Windows can also write 21 // SkCanvas to draw into. Our device provides a surface Windows can also write
22 // to. It also provides functionality to play well with GDI drawing functions. 22 // to. It also provides functionality to play well with GDI drawing functions.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 static void LoadTransformToDC(HDC dc, const SkMatrix& matrix); 69 static void LoadTransformToDC(HDC dc, const SkMatrix& matrix);
70 70
71 // Transforms SkPath's paths into a series of cubic path. 71 // Transforms SkPath's paths into a series of cubic path.
72 static bool SkPathToCubicPaths(CubicPaths* paths, const SkPath& skpath); 72 static bool SkPathToCubicPaths(CubicPaths* paths, const SkPath& skpath);
73 }; 73 };
74 74
75 } // namespace skia 75 } // namespace skia
76 76
77 #endif // SKIA_EXT_PLATFORM_DEVICE_WIN_H_ 77 #endif // SKIA_EXT_PLATFORM_DEVICE_WIN_H_
78 78
OLDNEW
« no previous file with comments | « chrome/test/unit/unittests.vcproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698