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

Side by Side Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 2346663004: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
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 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #include "core/svg/graphics/SVGImage.h" 28 #include "core/svg/graphics/SVGImage.h"
29 29
30 #include "core/animation/DocumentTimeline.h" 30 #include "core/animation/DocumentTimeline.h"
31 #include "core/dom/NodeTraversal.h" 31 #include "core/dom/NodeTraversal.h"
32 #include "core/dom/shadow/FlatTreeTraversal.h" 32 #include "core/dom/shadow/FlatTreeTraversal.h"
33 #include "core/frame/FrameView.h" 33 #include "core/frame/FrameView.h"
34 #include "core/frame/LocalFrame.h" 34 #include "core/frame/LocalFrame.h"
35 #include "core/frame/Settings.h" 35 #include "core/frame/Settings.h"
36 #include "core/style/ComputedStyle.h"
37 #include "core/layout/svg/LayoutSVGRoot.h" 36 #include "core/layout/svg/LayoutSVGRoot.h"
38 #include "core/loader/FrameLoadRequest.h" 37 #include "core/loader/FrameLoadRequest.h"
39 #include "core/paint/FloatClipRecorder.h" 38 #include "core/paint/FloatClipRecorder.h"
40 #include "core/paint/TransformRecorder.h" 39 #include "core/paint/TransformRecorder.h"
40 #include "core/style/ComputedStyle.h"
41 #include "core/svg/SVGDocumentExtensions.h" 41 #include "core/svg/SVGDocumentExtensions.h"
42 #include "core/svg/SVGFEImageElement.h" 42 #include "core/svg/SVGFEImageElement.h"
43 #include "core/svg/SVGImageElement.h" 43 #include "core/svg/SVGImageElement.h"
44 #include "core/svg/SVGSVGElement.h" 44 #include "core/svg/SVGSVGElement.h"
45 #include "core/svg/animation/SMILTimeContainer.h" 45 #include "core/svg/animation/SMILTimeContainer.h"
46 #include "core/svg/graphics/SVGImageChromeClient.h" 46 #include "core/svg/graphics/SVGImageChromeClient.h"
47 #include "platform/EventDispatchForbiddenScope.h" 47 #include "platform/EventDispatchForbiddenScope.h"
48 #include "platform/LengthFunctions.h" 48 #include "platform/LengthFunctions.h"
49 #include "platform/ScriptForbiddenScope.h" 49 #include "platform/ScriptForbiddenScope.h"
50 #include "platform/TraceEvent.h"
51 #include "platform/geometry/IntRect.h" 50 #include "platform/geometry/IntRect.h"
52 #include "platform/graphics/GraphicsContext.h" 51 #include "platform/graphics/GraphicsContext.h"
53 #include "platform/graphics/ImageBuffer.h" 52 #include "platform/graphics/ImageBuffer.h"
54 #include "platform/graphics/ImageObserver.h" 53 #include "platform/graphics/ImageObserver.h"
55 #include "platform/graphics/paint/ClipRecorder.h" 54 #include "platform/graphics/paint/ClipRecorder.h"
56 #include "platform/graphics/paint/CullRect.h" 55 #include "platform/graphics/paint/CullRect.h"
57 #include "platform/graphics/paint/DrawingRecorder.h" 56 #include "platform/graphics/paint/DrawingRecorder.h"
58 #include "platform/graphics/paint/SkPictureBuilder.h" 57 #include "platform/graphics/paint/SkPictureBuilder.h"
58 #include "platform/tracing/TraceEvent.h"
59 #include "third_party/skia/include/core/SkPicture.h" 59 #include "third_party/skia/include/core/SkPicture.h"
60 #include "wtf/PassRefPtr.h" 60 #include "wtf/PassRefPtr.h"
61 61
62 namespace blink { 62 namespace blink {
63 63
64 SVGImage::SVGImage(ImageObserver* observer) 64 SVGImage::SVGImage(ImageObserver* observer)
65 : Image(observer) 65 : Image(observer)
66 , m_hasPendingTimelineRewind(false) 66 , m_hasPendingTimelineRewind(false)
67 { 67 {
68 } 68 }
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 574
575 return m_page ? SizeAvailable : SizeUnavailable; 575 return m_page ? SizeAvailable : SizeUnavailable;
576 } 576 }
577 577
578 String SVGImage::filenameExtension() const 578 String SVGImage::filenameExtension() const
579 { 579 {
580 return "svg"; 580 return "svg";
581 } 581 }
582 582
583 } // namespace blink 583 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698