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

Side by Side Diff: webkit/port/platform/graphics/skia/public/PlatformDeviceWin.h

Issue 11244: Move PlatformCanvas and PlatformDevice from base/gfx to webkit/port. I left h... (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
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/platform_device_win.h:r69-2775
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 BASE_GFX_PLATFORM_DEVICE_WIN_H__ 5 #ifndef PlatformDeviceWin_h
6 #define BASE_GFX_PLATFORM_DEVICE_WIN_H__ 6 #define PlatformDeviceWin_h
7
8 #include <windows.h>
7 9
8 #include <vector> 10 #include <vector>
9 11
10 #include "SkDevice.h" 12 #include "SkDevice.h"
11 13
12 class SkMatrix; 14 class SkMatrix;
13 class SkPath; 15 class SkPath;
14 class SkRegion; 16 class SkRegion;
15 17
16 namespace gfx { 18 namespace gfx {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Loads the specified Skia transform into the device context, excluding 87 // Loads the specified Skia transform into the device context, excluding
86 // perspective (which GDI doesn't support). 88 // perspective (which GDI doesn't support).
87 static void LoadTransformToDC(HDC dc, const SkMatrix& matrix); 89 static void LoadTransformToDC(HDC dc, const SkMatrix& matrix);
88 90
89 // Transforms SkPath's paths into a series of cubic path. 91 // Transforms SkPath's paths into a series of cubic path.
90 static bool SkPathToCubicPaths(CubicPaths* paths, const SkPath& skpath); 92 static bool SkPathToCubicPaths(CubicPaths* paths, const SkPath& skpath);
91 }; 93 };
92 94
93 } // namespace gfx 95 } // namespace gfx
94 96
95 #endif // BASE_GFX_PLATFORM_DEVICE_WIN_H__ 97 #endif // PlatformDeviceWin_h
96 98
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698