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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h

Issue 2272773002: Use intersection observer to control frame throttling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Turns out we need the check after all Created 4 years, 1 month 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) 2007 Rob Buis <buis@kde.org> 2 * Copyright (C) 2007 Rob Buis <buis@kde.org>
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const LayoutBoxModelObject* ancestor, 104 const LayoutBoxModelObject* ancestor,
105 const FloatRect& localPaintInvalidationRect, 105 const FloatRect& localPaintInvalidationRect,
106 LayoutRect& resultRect, 106 LayoutRect& resultRect,
107 VisualRectFlags = DefaultVisualRectFlags); 107 VisualRectFlags = DefaultVisualRectFlags);
108 static void mapLocalToAncestor(const LayoutObject*, 108 static void mapLocalToAncestor(const LayoutObject*,
109 const LayoutBoxModelObject* ancestor, 109 const LayoutBoxModelObject* ancestor,
110 TransformState&, 110 TransformState&,
111 MapCoordinatesFlags); 111 MapCoordinatesFlags);
112 static void mapAncestorToLocal(const LayoutObject&, 112 static void mapAncestorToLocal(const LayoutObject&,
113 const LayoutBoxModelObject* ancestor, 113 const LayoutBoxModelObject* ancestor,
114 TransformState&); 114 TransformState&,
115 MapCoordinatesFlags);
115 static const LayoutObject* pushMappingToContainer( 116 static const LayoutObject* pushMappingToContainer(
116 const LayoutObject*, 117 const LayoutObject*,
117 const LayoutBoxModelObject* ancestorToStopAt, 118 const LayoutBoxModelObject* ancestorToStopAt,
118 LayoutGeometryMap&); 119 LayoutGeometryMap&);
119 120
120 // Shared between SVG layoutObjects and resources. 121 // Shared between SVG layoutObjects and resources.
121 static void applyStrokeStyleToStrokeData(StrokeData&, 122 static void applyStrokeStyleToStrokeData(StrokeData&,
122 const ComputedStyle&, 123 const ComputedStyle&,
123 const LayoutObject&, 124 const LayoutObject&,
124 float dashScaleFactor); 125 float dashScaleFactor);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 if (child->hasNonIsolatedBlendingDescendants() && 223 if (child->hasNonIsolatedBlendingDescendants() &&
223 !willIsolateBlendingDescendantsForObject(child)) 224 !willIsolateBlendingDescendantsForObject(child))
224 return true; 225 return true;
225 } 226 }
226 return false; 227 return false;
227 } 228 }
228 229
229 } // namespace blink 230 } // namespace blink
230 231
231 #endif // SVGLayoutSupport_h 232 #endif // SVGLayoutSupport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698