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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.h

Issue 2000483003: Rework timeline/frame scheduling logic for SVGImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CSSCrossfadeValue needs to reply truthfully to willRenderImage. Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
index ea98cf224aa79547f8541b11b5603b09fae1b47f..7671d2ec69804ff1ad0e65a65f02adc65cccc175 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -35,7 +35,6 @@
namespace blink {
class Document;
-class FrameView;
class Page;
class LayoutReplaced;
class SVGImageChromeClient;
@@ -68,11 +67,10 @@ public:
PassRefPtr<SkImage> imageForCurrentFrame() override;
- // Returns the SVG image document's frame.
- FrameView* frameView() const;
-
// Does the SVG image/document contain any animations?
bool hasAnimations() const;
+ // Service CSS and SMIL animations.
+ void serviceAnimations(double monotonicAnimationStartTime);
void updateUseCounters(Document&) const;
@@ -84,8 +82,10 @@ public:
bool hasIntrinsicDimensions() const;
private:
- friend class AXLayoutObject;
+ // Accesses m_page.
friend class SVGImageChromeClient;
+ // Forwards calls to the various *ForContainer methods and other parts of
+ // the the Image interface.
friend class SVGImageForContainer;
~SVGImage() override;

Powered by Google App Engine
This is Rietveld 408576698