OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> |
7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
8 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. | 8 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. |
9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
10 * | 10 * |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "platform/graphics/DrawLooperBuilder.h" | 55 #include "platform/graphics/DrawLooperBuilder.h" |
56 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" | 56 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" |
57 #include "platform/graphics/ImageBuffer.h" | 57 #include "platform/graphics/ImageBuffer.h" |
58 #include "platform/graphics/StrokeData.h" | 58 #include "platform/graphics/StrokeData.h" |
59 #include "platform/graphics/skia/SkiaUtils.h" | 59 #include "platform/graphics/skia/SkiaUtils.h" |
60 #include "platform/text/BidiTextRun.h" | 60 #include "platform/text/BidiTextRun.h" |
61 #include "public/platform/Platform.h" | 61 #include "public/platform/Platform.h" |
62 #include "third_party/skia/include/core/SkCanvas.h" | 62 #include "third_party/skia/include/core/SkCanvas.h" |
63 #include "third_party/skia/include/core/SkImageFilter.h" | 63 #include "third_party/skia/include/core/SkImageFilter.h" |
64 #include "wtf/MathExtras.h" | 64 #include "wtf/MathExtras.h" |
65 #include "wtf/OwnPtr.h" | |
66 #include "wtf/text/StringBuilder.h" | 65 #include "wtf/text/StringBuilder.h" |
67 #include "wtf/typed_arrays/ArrayBufferContents.h" | 66 #include "wtf/typed_arrays/ArrayBufferContents.h" |
68 | 67 |
69 namespace blink { | 68 namespace blink { |
70 | 69 |
71 static const char defaultFont[] = "10px sans-serif"; | 70 static const char defaultFont[] = "10px sans-serif"; |
72 static const char inherit[] = "inherit"; | 71 static const char inherit[] = "inherit"; |
73 static const char rtl[] = "rtl"; | 72 static const char rtl[] = "rtl"; |
74 static const char ltr[] = "ltr"; | 73 static const char ltr[] = "ltr"; |
75 static const double TryRestoreContextInterval = 0.5; | 74 static const double TryRestoreContextInterval = 0.5; |
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 | 1057 |
1059 unsigned CanvasRenderingContext2D::hitRegionsCount() const | 1058 unsigned CanvasRenderingContext2D::hitRegionsCount() const |
1060 { | 1059 { |
1061 if (m_hitRegionManager) | 1060 if (m_hitRegionManager) |
1062 return m_hitRegionManager->getHitRegionsCount(); | 1061 return m_hitRegionManager->getHitRegionsCount(); |
1063 | 1062 |
1064 return 0; | 1063 return 0; |
1065 } | 1064 } |
1066 | 1065 |
1067 } // namespace blink | 1066 } // namespace blink |
OLD | NEW |