OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2008-2009 Torch Mobile, Inc. |
4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #ifndef GraphicsContext_h | 28 #ifndef GraphicsContext_h |
29 #define GraphicsContext_h | 29 #define GraphicsContext_h |
30 | 30 |
| 31 #include <memory> |
31 #include "platform/PlatformExport.h" | 32 #include "platform/PlatformExport.h" |
32 #include "platform/fonts/Font.h" | 33 #include "platform/fonts/Font.h" |
33 #include "platform/graphics/ColorBehavior.h" | 34 #include "platform/graphics/ColorBehavior.h" |
34 #include "platform/graphics/DashArray.h" | 35 #include "platform/graphics/DashArray.h" |
35 #include "platform/graphics/DrawLooperBuilder.h" | 36 #include "platform/graphics/DrawLooperBuilder.h" |
36 #include "platform/graphics/GraphicsContextState.h" | 37 #include "platform/graphics/GraphicsContextState.h" |
37 #include "platform/graphics/ImageOrientation.h" | 38 #include "platform/graphics/ImageOrientation.h" |
38 #include "platform/graphics/paint/PaintRecord.h" | 39 #include "platform/graphics/paint/PaintRecord.h" |
39 #include "platform/graphics/paint/PaintRecorder.h" | 40 #include "platform/graphics/paint/PaintRecorder.h" |
40 #include "platform/graphics/skia/SkiaUtils.h" | 41 #include "platform/graphics/skia/SkiaUtils.h" |
41 #include "third_party/skia/include/core/SkClipOp.h" | 42 #include "third_party/skia/include/core/SkClipOp.h" |
42 #include "third_party/skia/include/core/SkImageFilter.h" | 43 #include "third_party/skia/include/core/SkImageFilter.h" |
43 #include "third_party/skia/include/core/SkMetaData.h" | 44 #include "third_party/skia/include/core/SkMetaData.h" |
44 #include "third_party/skia/include/core/SkRefCnt.h" | 45 #include "third_party/skia/include/core/SkRefCnt.h" |
45 #include "wtf/Allocator.h" | 46 #include "wtf/Allocator.h" |
46 #include "wtf/Forward.h" | 47 #include "wtf/Forward.h" |
47 #include "wtf/Noncopyable.h" | 48 #include "wtf/Noncopyable.h" |
48 #include <memory> | |
49 | 49 |
50 class SkPath; | 50 class SkPath; |
51 class SkRRect; | 51 class SkRRect; |
52 struct SkRect; | 52 struct SkRect; |
53 | 53 |
54 namespace blink { | 54 namespace blink { |
55 | 55 |
56 class FloatRect; | 56 class FloatRect; |
57 class FloatRoundedRect; | 57 class FloatRoundedRect; |
58 class KURL; | 58 class KURL; |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 | 448 |
449 float m_deviceScaleFactor; | 449 float m_deviceScaleFactor; |
450 | 450 |
451 unsigned m_printing : 1; | 451 unsigned m_printing : 1; |
452 unsigned m_hasMetaData : 1; | 452 unsigned m_hasMetaData : 1; |
453 }; | 453 }; |
454 | 454 |
455 } // namespace blink | 455 } // namespace blink |
456 | 456 |
457 #endif // GraphicsContext_h | 457 #endif // GraphicsContext_h |
OLD | NEW |