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

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

Issue 923953002: Move rendering/RenderImage* to layout/LayoutImage* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | Source/core/html/forms/ImageInputType.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "core/html/HTMLMediaElement.h" 53 #include "core/html/HTMLMediaElement.h"
54 #include "core/html/HTMLVideoElement.h" 54 #include "core/html/HTMLVideoElement.h"
55 #include "core/html/ImageData.h" 55 #include "core/html/ImageData.h"
56 #include "core/html/TextMetrics.h" 56 #include "core/html/TextMetrics.h"
57 #include "core/html/canvas/CanvasGradient.h" 57 #include "core/html/canvas/CanvasGradient.h"
58 #include "core/html/canvas/CanvasPattern.h" 58 #include "core/html/canvas/CanvasPattern.h"
59 #include "core/html/canvas/CanvasStyle.h" 59 #include "core/html/canvas/CanvasStyle.h"
60 #include "core/html/canvas/Path2D.h" 60 #include "core/html/canvas/Path2D.h"
61 #include "core/layout/Layer.h" 61 #include "core/layout/Layer.h"
62 #include "core/layout/LayoutTheme.h" 62 #include "core/layout/LayoutTheme.h"
63 #include "core/rendering/RenderImage.h"
64 #include "platform/fonts/FontCache.h" 63 #include "platform/fonts/FontCache.h"
65 #include "platform/geometry/FloatQuad.h" 64 #include "platform/geometry/FloatQuad.h"
66 #include "platform/graphics/DrawLooperBuilder.h" 65 #include "platform/graphics/DrawLooperBuilder.h"
67 #include "platform/graphics/GraphicsContextStateSaver.h" 66 #include "platform/graphics/GraphicsContextStateSaver.h"
68 #include "platform/text/BidiTextRun.h" 67 #include "platform/text/BidiTextRun.h"
69 #include "platform/text/TextRun.h" 68 #include "platform/text/TextRun.h"
70 #include "wtf/ArrayBufferContents.h" 69 #include "wtf/ArrayBufferContents.h"
71 #include "wtf/CheckedArithmetic.h" 70 #include "wtf/CheckedArithmetic.h"
72 #include "wtf/MathExtras.h" 71 #include "wtf/MathExtras.h"
73 #include "wtf/OwnPtr.h" 72 #include "wtf/OwnPtr.h"
(...skipping 2405 matching lines...) Expand 10 before | Expand all | Expand 10 after
2479 if (imageType == NonOpaqueImage) 2478 if (imageType == NonOpaqueImage)
2480 return; 2479 return;
2481 if (alpha < 0xFF) 2480 if (alpha < 0xFF)
2482 return; 2481 return;
2483 } 2482 }
2484 2483
2485 canvas()->buffer()->willOverwriteCanvas(); 2484 canvas()->buffer()->willOverwriteCanvas();
2486 } 2485 }
2487 2486
2488 } // namespace blink 2487 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | Source/core/html/forms/ImageInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698