| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. |
| 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "platform/graphics/Color.h" | 54 #include "platform/graphics/Color.h" |
| 55 #include "platform/graphics/GraphicsContext.h" | 55 #include "platform/graphics/GraphicsContext.h" |
| 56 #include "platform/graphics/ImageBuffer.h" | 56 #include "platform/graphics/ImageBuffer.h" |
| 57 #include "platform/graphics/ImageObserver.h" | 57 #include "platform/graphics/ImageObserver.h" |
| 58 #include "platform/graphics/paint/ClipRecorder.h" | 58 #include "platform/graphics/paint/ClipRecorder.h" |
| 59 #include "platform/graphics/paint/CullRect.h" | 59 #include "platform/graphics/paint/CullRect.h" |
| 60 #include "platform/graphics/paint/DrawingRecorder.h" | 60 #include "platform/graphics/paint/DrawingRecorder.h" |
| 61 #include "platform/graphics/paint/PaintRecord.h" | 61 #include "platform/graphics/paint/PaintRecord.h" |
| 62 #include "platform/graphics/paint/PaintRecordBuilder.h" | 62 #include "platform/graphics/paint/PaintRecordBuilder.h" |
| 63 #include "platform/instrumentation/tracing/TraceEvent.h" | 63 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 64 #include "wtf/PassRefPtr.h" | 64 #include "platform/wtf/PassRefPtr.h" |
| 65 | 65 |
| 66 namespace blink { | 66 namespace blink { |
| 67 | 67 |
| 68 SVGImage::SVGImage(ImageObserver* observer) | 68 SVGImage::SVGImage(ImageObserver* observer) |
| 69 : Image(observer), | 69 : Image(observer), |
| 70 paint_controller_(PaintController::Create()), | 70 paint_controller_(PaintController::Create()), |
| 71 has_pending_timeline_rewind_(false) {} | 71 has_pending_timeline_rewind_(false) {} |
| 72 | 72 |
| 73 SVGImage::~SVGImage() { | 73 SVGImage::~SVGImage() { |
| 74 if (page_) { | 74 if (page_) { |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 } | 694 } |
| 695 | 695 |
| 696 return page_ ? kSizeAvailable : kSizeUnavailable; | 696 return page_ ? kSizeAvailable : kSizeUnavailable; |
| 697 } | 697 } |
| 698 | 698 |
| 699 String SVGImage::FilenameExtension() const { | 699 String SVGImage::FilenameExtension() const { |
| 700 return "svg"; | 700 return "svg"; |
| 701 } | 701 } |
| 702 | 702 |
| 703 } // namespace blink | 703 } // namespace blink |
| OLD | NEW |