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

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

Issue 11568: Move skia extensions from the port to skia/ext. (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 | « skia/ext/bitmap_platform_device_win.cc ('k') | skia/ext/platform_canvas_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) 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 PlatformCanvasWin_h 5 #ifndef SKIA_EXT_PLATFORM_CANVAS_WIN_H_
6 #define PlatformCanvasWin_h 6 #define SKIA_EXT_PLATFORM_CANVAS_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "PlatformDeviceWin.h"
11 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "skia/ext/platform_device_win.h"
12 12
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 14
15 namespace gfx { 15 namespace gfx {
16 16
17 // This class is a specialization of the regular SkCanvas that is designed to 17 // This class is a specialization of the regular SkCanvas that is designed to
18 // work with a gfx::PlatformDevice to manage platform-specific drawing. It 18 // work with a gfx::PlatformDevice to manage platform-specific drawing. It
19 // allows using both Skia operations and platform-specific operations. 19 // allows using both Skia operations and platform-specific operations.
20 class PlatformCanvasWin : public SkCanvas { 20 class PlatformCanvasWin : public SkCanvas {
21 public: 21 public:
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 // Disallow copy and assign. 192 // Disallow copy and assign.
193 CanvasPaintT(const CanvasPaintT&); 193 CanvasPaintT(const CanvasPaintT&);
194 CanvasPaintT& operator=(const CanvasPaintT&); 194 CanvasPaintT& operator=(const CanvasPaintT&);
195 }; 195 };
196 196
197 typedef CanvasPaintT<PlatformCanvasWin> PlatformCanvasWinPaint; 197 typedef CanvasPaintT<PlatformCanvasWin> PlatformCanvasWinPaint;
198 198
199 } // namespace gfx 199 } // namespace gfx
200 200
201 #endif // PlatformCanvasWin_h 201 #endif // SKIA_EXT_PLATFORM_CANVAS_WIN_H_
202 202
OLDNEW
« no previous file with comments | « skia/ext/bitmap_platform_device_win.cc ('k') | skia/ext/platform_canvas_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698