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

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

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "core/html/HTMLImageElement.h" 47 #include "core/html/HTMLImageElement.h"
48 #include "core/html/HTMLMediaElement.h" 48 #include "core/html/HTMLMediaElement.h"
49 #include "core/html/HTMLVideoElement.h" 49 #include "core/html/HTMLVideoElement.h"
50 #include "core/html/ImageData.h" 50 #include "core/html/ImageData.h"
51 #include "core/html/TextMetrics.h" 51 #include "core/html/TextMetrics.h"
52 #include "core/html/canvas/CanvasGradient.h" 52 #include "core/html/canvas/CanvasGradient.h"
53 #include "core/html/canvas/CanvasPattern.h" 53 #include "core/html/canvas/CanvasPattern.h"
54 #include "core/html/canvas/CanvasStyle.h" 54 #include "core/html/canvas/CanvasStyle.h"
55 #include "core/html/canvas/DOMPath.h" 55 #include "core/html/canvas/DOMPath.h"
56 #include "core/frame/ImageBitmap.h" 56 #include "core/frame/ImageBitmap.h"
57 #include "core/platform/graphics/FontCache.h"
58 #include "core/platform/graphics/GraphicsContextStateSaver.h"
59 #include "core/rendering/RenderImage.h" 57 #include "core/rendering/RenderImage.h"
60 #include "core/rendering/RenderLayer.h" 58 #include "core/rendering/RenderLayer.h"
61 #include "core/rendering/RenderTheme.h" 59 #include "core/rendering/RenderTheme.h"
60 #include "platform/fonts/FontCache.h"
62 #include "platform/geometry/FloatQuad.h" 61 #include "platform/geometry/FloatQuad.h"
62 #include "platform/graphics/GraphicsContextStateSaver.h"
63 #include "platform/graphics/DrawLooper.h" 63 #include "platform/graphics/DrawLooper.h"
64 #include "platform/graphics/TextRun.h" 64 #include "platform/graphics/TextRun.h"
65 #include "platform/weborigin/SecurityOrigin.h" 65 #include "platform/weborigin/SecurityOrigin.h"
66 #include "wtf/CheckedArithmetic.h" 66 #include "wtf/CheckedArithmetic.h"
67 #include "wtf/MathExtras.h" 67 #include "wtf/MathExtras.h"
68 #include "wtf/OwnPtr.h" 68 #include "wtf/OwnPtr.h"
69 #include "wtf/Uint8ClampedArray.h" 69 #include "wtf/Uint8ClampedArray.h"
70 #include "wtf/text/StringBuilder.h" 70 #include "wtf/text/StringBuilder.h"
71 71
72 using namespace std; 72 using namespace std;
(...skipping 2353 matching lines...) Expand 10 before | Expand all | Expand 10 after
2426 const int focusRingWidth = 5; 2426 const int focusRingWidth = 5;
2427 const int focusRingOutline = 0; 2427 const int focusRingOutline = 0;
2428 c->drawFocusRing(path, focusRingWidth, focusRingOutline, focusRingColor); 2428 c->drawFocusRing(path, focusRingWidth, focusRingOutline, focusRingColor);
2429 2429
2430 c->restore(); 2430 c->restore();
2431 2431
2432 didDraw(dirtyRect); 2432 didDraw(dirtyRect);
2433 } 2433 }
2434 2434
2435 } // namespace WebCore 2435 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.h ('k') | Source/core/html/canvas/CanvasStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698