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

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: Update LeakExpectations 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const LayoutBoxModelObject* ancestor, 103 const LayoutBoxModelObject* ancestor,
104 const FloatRect& localPaintInvalidationRect, 104 const FloatRect& localPaintInvalidationRect,
105 LayoutRect& resultRect, 105 LayoutRect& resultRect,
106 VisualRectFlags = DefaultVisualRectFlags); 106 VisualRectFlags = DefaultVisualRectFlags);
107 static void mapLocalToAncestor(const LayoutObject*, 107 static void mapLocalToAncestor(const LayoutObject*,
108 const LayoutBoxModelObject* ancestor, 108 const LayoutBoxModelObject* ancestor,
109 TransformState&, 109 TransformState&,
110 MapCoordinatesFlags); 110 MapCoordinatesFlags);
111 static void mapAncestorToLocal(const LayoutObject&, 111 static void mapAncestorToLocal(const LayoutObject&,
112 const LayoutBoxModelObject* ancestor, 112 const LayoutBoxModelObject* ancestor,
113 TransformState&); 113 TransformState&,
114 MapCoordinatesFlags);
114 static const LayoutObject* pushMappingToContainer( 115 static const LayoutObject* pushMappingToContainer(
115 const LayoutObject*, 116 const LayoutObject*,
116 const LayoutBoxModelObject* ancestorToStopAt, 117 const LayoutBoxModelObject* ancestorToStopAt,
117 LayoutGeometryMap&); 118 LayoutGeometryMap&);
118 119
119 // Shared between SVG layoutObjects and resources. 120 // Shared between SVG layoutObjects and resources.
120 static void applyStrokeStyleToStrokeData(StrokeData&, 121 static void applyStrokeStyleToStrokeData(StrokeData&,
121 const ComputedStyle&, 122 const ComputedStyle&,
122 const LayoutObject&, 123 const LayoutObject&,
123 float dashScaleFactor); 124 float dashScaleFactor);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 if (child->hasNonIsolatedBlendingDescendants() && 222 if (child->hasNonIsolatedBlendingDescendants() &&
222 !willIsolateBlendingDescendantsForObject(child)) 223 !willIsolateBlendingDescendantsForObject(child))
223 return true; 224 return true;
224 } 225 }
225 return false; 226 return false;
226 } 227 }
227 228
228 } // namespace blink 229 } // namespace blink
229 230
230 #endif // SVGLayoutSupport_h 231 #endif // SVGLayoutSupport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698