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

Side by Side Diff: Source/core/html/HTMLCanvasElement.cpp

Issue 132233016: [SVG] SVGAnimatedPointList migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/html/canvas/WebGLRenderingContext.h" 43 #include "core/html/canvas/WebGLRenderingContext.h"
44 #include "core/frame/Frame.h" 44 #include "core/frame/Frame.h"
45 #include "core/frame/Settings.h" 45 #include "core/frame/Settings.h"
46 #include "core/rendering/RenderHTMLCanvas.h" 46 #include "core/rendering/RenderHTMLCanvas.h"
47 #include "platform/MIMETypeRegistry.h" 47 #include "platform/MIMETypeRegistry.h"
48 #include "platform/graphics/Canvas2DImageBufferSurface.h" 48 #include "platform/graphics/Canvas2DImageBufferSurface.h"
49 #include "platform/graphics/GraphicsContextStateSaver.h" 49 #include "platform/graphics/GraphicsContextStateSaver.h"
50 #include "platform/graphics/ImageBuffer.h" 50 #include "platform/graphics/ImageBuffer.h"
51 #include "platform/graphics/UnacceleratedImageBufferSurface.h" 51 #include "platform/graphics/UnacceleratedImageBufferSurface.h"
52 #include "platform/graphics/gpu/WebGLImageBufferSurface.h" 52 #include "platform/graphics/gpu/WebGLImageBufferSurface.h"
53 #include "platform/transforms/AffineTransform.h"
53 #include "public/platform/Platform.h" 54 #include "public/platform/Platform.h"
54 55
55 namespace WebCore { 56 namespace WebCore {
56 57
57 using namespace HTMLNames; 58 using namespace HTMLNames;
58 59
59 // These values come from the WhatWG spec. 60 // These values come from the WhatWG spec.
60 static const int DefaultWidth = 300; 61 static const int DefaultWidth = 300;
61 static const int DefaultHeight = 150; 62 static const int DefaultHeight = 150;
62 63
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 m_didClearImageBuffer = false; 555 m_didClearImageBuffer = false;
555 } 556 }
556 557
557 AffineTransform HTMLCanvasElement::baseTransform() const 558 AffineTransform HTMLCanvasElement::baseTransform() const
558 { 559 {
559 ASSERT(hasImageBuffer() && !m_didFailToCreateImageBuffer); 560 ASSERT(hasImageBuffer() && !m_didFailToCreateImageBuffer);
560 return m_imageBuffer->baseTransform(); 561 return m_imageBuffer->baseTransform();
561 } 562 }
562 563
563 } 564 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698