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

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

Issue 14900: Remove base dependencies in the Windows-specific skia/ext code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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
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_VECTOR_CANVAS_H_ 5 #ifndef SKIA_EXT_VECTOR_CANVAS_H_
6 #define SKIA_EXT_VECTOR_CANVAS_H_ 6 #define SKIA_EXT_VECTOR_CANVAS_H_
7 7
8 #include "skia/ext/platform_canvas_win.h" 8 #include "skia/ext/platform_canvas_win.h"
9 #include "skia/ext/vector_device.h" 9 #include "skia/ext/vector_device.h"
10 10
(...skipping 19 matching lines...) Expand all
30 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter); 30 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter);
31 31
32 private: 32 private:
33 // |is_opaque| is unused. |shared_section| is in fact the HDC used for output. 33 // |is_opaque| is unused. |shared_section| is in fact the HDC used for output.
34 virtual SkDevice* createPlatformDevice(int width, int height, bool is_opaque, 34 virtual SkDevice* createPlatformDevice(int width, int height, bool is_opaque,
35 HANDLE shared_section); 35 HANDLE shared_section);
36 36
37 // Returns true if the top device is vector based and not bitmap based. 37 // Returns true if the top device is vector based and not bitmap based.
38 bool IsTopDeviceVectorial() const; 38 bool IsTopDeviceVectorial() const;
39 39
40 DISALLOW_COPY_AND_ASSIGN(VectorCanvas); 40 // Copy & assign are not supported.
41 VectorCanvas(const VectorCanvas&);
42 const VectorCanvas& operator=(const VectorCanvas&);
41 }; 43 };
dglazkov 2008/12/19 20:46:41 It's already a sub-class of SkNonCopyable -- do we
42 44
43 } // namespace skia 45 } // namespace skia
44 46
45 #endif // SKIA_EXT_VECTOR_CANVAS_H_ 47 #endif // SKIA_EXT_VECTOR_CANVAS_H_
46 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698