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

Side by Side Diff: Source/core/html/canvas/CanvasRenderingContext2D.cpp

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months 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 /* 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "core/html/HTMLVideoElement.h" 50 #include "core/html/HTMLVideoElement.h"
51 #include "core/html/ImageData.h" 51 #include "core/html/ImageData.h"
52 #include "core/html/TextMetrics.h" 52 #include "core/html/TextMetrics.h"
53 #include "core/html/canvas/Canvas2DContextAttributes.h" 53 #include "core/html/canvas/Canvas2DContextAttributes.h"
54 #include "core/html/canvas/CanvasGradient.h" 54 #include "core/html/canvas/CanvasGradient.h"
55 #include "core/html/canvas/CanvasPattern.h" 55 #include "core/html/canvas/CanvasPattern.h"
56 #include "core/html/canvas/CanvasStyle.h" 56 #include "core/html/canvas/CanvasStyle.h"
57 #include "core/html/canvas/DOMPath.h" 57 #include "core/html/canvas/DOMPath.h"
58 #include "core/page/ImageBitmap.h" 58 #include "core/page/ImageBitmap.h"
59 #include "core/platform/graphics/DrawLooper.h" 59 #include "core/platform/graphics/DrawLooper.h"
60 #include "core/platform/graphics/FloatQuad.h"
61 #include "core/platform/graphics/FontCache.h" 60 #include "core/platform/graphics/FontCache.h"
62 #include "core/platform/graphics/GraphicsContextStateSaver.h" 61 #include "core/platform/graphics/GraphicsContextStateSaver.h"
63 #include "core/platform/graphics/TextRun.h" 62 #include "core/platform/graphics/TextRun.h"
64 #include "core/platform/graphics/transforms/AffineTransform.h"
65 #include "core/rendering/RenderLayer.h" 63 #include "core/rendering/RenderLayer.h"
66 #include "core/rendering/RenderTheme.h" 64 #include "core/rendering/RenderTheme.h"
65 #include "platform/geometry/FloatQuad.h"
66 #include "platform/transforms/AffineTransform.h"
67 #include "weborigin/SecurityOrigin.h" 67 #include "weborigin/SecurityOrigin.h"
68 #include "wtf/CheckedArithmetic.h" 68 #include "wtf/CheckedArithmetic.h"
69 #include "wtf/MathExtras.h" 69 #include "wtf/MathExtras.h"
70 #include "wtf/OwnPtr.h" 70 #include "wtf/OwnPtr.h"
71 #include "wtf/Uint8ClampedArray.h" 71 #include "wtf/Uint8ClampedArray.h"
72 #include "wtf/text/StringBuilder.h" 72 #include "wtf/text/StringBuilder.h"
73 73
74 using namespace std; 74 using namespace std;
75 75
76 namespace WebCore { 76 namespace WebCore {
(...skipping 2337 matching lines...) Expand 10 before | Expand all | Expand 10 after
2414 const int focusRingWidth = 5; 2414 const int focusRingWidth = 5;
2415 const int focusRingOutline = 0; 2415 const int focusRingOutline = 0;
2416 c->drawFocusRing(path, focusRingWidth, focusRingOutline, focusRingColor); 2416 c->drawFocusRing(path, focusRingWidth, focusRingOutline, focusRingColor);
2417 2417
2418 c->restore(); 2418 c->restore();
2419 2419
2420 didDraw(dirtyRect); 2420 didDraw(dirtyRect);
2421 } 2421 }
2422 2422
2423 } // namespace WebCore 2423 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.h ('k') | Source/core/html/canvas/WebGLRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698