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

Side by Side Diff: sky/engine/core/html/canvas/CanvasRenderingContext2D.cpp

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
OLDNEW
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 12 matching lines...) Expand all
23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
28 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */ 31 */
32 32
33 #include "config.h" 33 #include "sky/engine/config.h"
34 #include "core/html/canvas/CanvasRenderingContext2D.h" 34 #include "sky/engine/core/html/canvas/CanvasRenderingContext2D.h"
35 35
36 #include "bindings/core/v8/ExceptionMessages.h"
37 #include "bindings/core/v8/ExceptionState.h"
38 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
39 #include "gen/sky/core/CSSPropertyNames.h" 36 #include "gen/sky/core/CSSPropertyNames.h"
40 #include "core/css/CSSFontSelector.h" 37 #include "sky/engine/bindings/core/v8/ExceptionMessages.h"
41 #include "core/css/parser/BisonCSSParser.h" 38 #include "sky/engine/bindings/core/v8/ExceptionState.h"
42 #include "core/css/StylePropertySet.h" 39 #include "sky/engine/bindings/core/v8/ExceptionStatePlaceholder.h"
43 #include "core/css/resolver/StyleResolver.h" 40 #include "sky/engine/core/css/CSSFontSelector.h"
44 #include "core/dom/ExceptionCode.h" 41 #include "sky/engine/core/css/StylePropertySet.h"
45 #include "core/dom/StyleEngine.h" 42 #include "sky/engine/core/css/parser/BisonCSSParser.h"
46 #include "core/events/Event.h" 43 #include "sky/engine/core/css/resolver/StyleResolver.h"
47 #include "core/fetch/ImageResource.h" 44 #include "sky/engine/core/dom/ExceptionCode.h"
48 #include "core/frame/ImageBitmap.h" 45 #include "sky/engine/core/dom/StyleEngine.h"
49 #include "core/html/HTMLCanvasElement.h" 46 #include "sky/engine/core/events/Event.h"
50 #include "core/html/HTMLImageElement.h" 47 #include "sky/engine/core/fetch/ImageResource.h"
51 #include "core/html/ImageData.h" 48 #include "sky/engine/core/frame/ImageBitmap.h"
52 #include "core/html/TextMetrics.h" 49 #include "sky/engine/core/html/HTMLCanvasElement.h"
53 #include "core/html/canvas/CanvasGradient.h" 50 #include "sky/engine/core/html/HTMLImageElement.h"
54 #include "core/html/canvas/CanvasPattern.h" 51 #include "sky/engine/core/html/ImageData.h"
55 #include "core/html/canvas/CanvasStyle.h" 52 #include "sky/engine/core/html/TextMetrics.h"
56 #include "core/html/canvas/Path2D.h" 53 #include "sky/engine/core/html/canvas/CanvasGradient.h"
57 #include "core/rendering/RenderImage.h" 54 #include "sky/engine/core/html/canvas/CanvasPattern.h"
58 #include "core/rendering/RenderLayer.h" 55 #include "sky/engine/core/html/canvas/CanvasStyle.h"
59 #include "core/rendering/RenderTheme.h" 56 #include "sky/engine/core/html/canvas/Path2D.h"
60 #include "platform/fonts/FontCache.h" 57 #include "sky/engine/core/rendering/RenderImage.h"
61 #include "platform/geometry/FloatQuad.h" 58 #include "sky/engine/core/rendering/RenderLayer.h"
62 #include "platform/graphics/DrawLooperBuilder.h" 59 #include "sky/engine/core/rendering/RenderTheme.h"
63 #include "platform/graphics/GraphicsContextStateSaver.h" 60 #include "sky/engine/platform/fonts/FontCache.h"
64 #include "platform/text/TextRun.h" 61 #include "sky/engine/platform/geometry/FloatQuad.h"
65 #include "wtf/CheckedArithmetic.h" 62 #include "sky/engine/platform/graphics/DrawLooperBuilder.h"
66 #include "wtf/MathExtras.h" 63 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h"
67 #include "wtf/OwnPtr.h" 64 #include "sky/engine/platform/text/TextRun.h"
68 #include "wtf/Uint8ClampedArray.h" 65 #include "sky/engine/wtf/CheckedArithmetic.h"
69 #include "wtf/text/StringBuilder.h" 66 #include "sky/engine/wtf/MathExtras.h"
67 #include "sky/engine/wtf/OwnPtr.h"
68 #include "sky/engine/wtf/Uint8ClampedArray.h"
69 #include "sky/engine/wtf/text/StringBuilder.h"
70 70
71 namespace blink { 71 namespace blink {
72 72
73 static const int defaultFontSize = 10; 73 static const int defaultFontSize = 10;
74 static const char defaultFontFamily[] = "sans-serif"; 74 static const char defaultFontFamily[] = "sans-serif";
75 static const char defaultFont[] = "10px sans-serif"; 75 static const char defaultFont[] = "10px sans-serif";
76 static const char inherit[] = "inherit"; 76 static const char inherit[] = "inherit";
77 static const char rtl[] = "rtl"; 77 static const char rtl[] = "rtl";
78 static const char ltr[] = "ltr"; 78 static const char ltr[] = "ltr";
79 static const double TryRestoreContextInterval = 0.5; 79 static const double TryRestoreContextInterval = 0.5;
(...skipping 2164 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 2244
2245 unsigned CanvasRenderingContext2D::hitRegionsCount() const 2245 unsigned CanvasRenderingContext2D::hitRegionsCount() const
2246 { 2246 {
2247 if (m_hitRegionManager) 2247 if (m_hitRegionManager)
2248 return m_hitRegionManager->getHitRegionsCount(); 2248 return m_hitRegionManager->getHitRegionsCount();
2249 2249
2250 return 0; 2250 return 0;
2251 } 2251 }
2252 2252
2253 } // namespace blink 2253 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/html/canvas/CanvasRenderingContext2D.h ('k') | sky/engine/core/html/canvas/CanvasStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698