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

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

Issue 8538001: Cleanup: Remove unneeded forward declarations in printing, sandbox, and skia. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/platform_device.h ('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) 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 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_ 5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_
6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_ 6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "skia/ext/platform_device.h" 11 #include "skia/ext/platform_device.h"
12 #include "third_party/skia/include/core/SkRefCnt.h" 12 #include "third_party/skia/include/core/SkRefCnt.h"
13 #include "third_party/skia/include/core/SkTScopedPtr.h" 13 #include "third_party/skia/include/core/SkTScopedPtr.h"
14 #include "third_party/skia/include/pdf/SkPDFDevice.h" 14 #include "third_party/skia/include/pdf/SkPDFDevice.h"
15 15
16 class SkClipStack;
17 class SkMatrix; 16 class SkMatrix;
18 struct SkIRect;
19 struct SkRect;
20 17
21 namespace skia { 18 namespace skia {
22 19
23 class BitmapPlatformDevice; 20 class BitmapPlatformDevice;
24 21
25 class VectorPlatformDeviceSkia : public PlatformDevice, public SkPDFDevice { 22 class VectorPlatformDeviceSkia : public PlatformDevice, public SkPDFDevice {
26 public: 23 public:
27 SK_API VectorPlatformDeviceSkia(const SkISize& pageSize, 24 SK_API VectorPlatformDeviceSkia(const SkISize& pageSize,
28 const SkISize& contentSize, 25 const SkISize& contentSize,
29 const SkMatrix& initialTransform); 26 const SkMatrix& initialTransform);
(...skipping 17 matching lines...) Expand all
47 44
48 private: 45 private:
49 SkRefPtr<BitmapPlatformDevice> raster_surface_; 46 SkRefPtr<BitmapPlatformDevice> raster_surface_;
50 47
51 DISALLOW_COPY_AND_ASSIGN(VectorPlatformDeviceSkia); 48 DISALLOW_COPY_AND_ASSIGN(VectorPlatformDeviceSkia);
52 }; 49 };
53 50
54 } // namespace skia 51 } // namespace skia
55 52
56 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_ 53 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_SKIA_H_
OLDNEW
« no previous file with comments | « skia/ext/platform_device.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698