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

Side by Side Diff: Source/core/svg/animation/SVGSMILElement.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGViewElement.h ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 private: 138 private:
139 virtual void buildPendingResource() override; 139 virtual void buildPendingResource() override;
140 void clearResourceAndEventBaseReferences(); 140 void clearResourceAndEventBaseReferences();
141 void clearConditions(); 141 void clearConditions();
142 142
143 virtual void startedActiveInterval() = 0; 143 virtual void startedActiveInterval() = 0;
144 void endedActiveInterval(); 144 void endedActiveInterval();
145 virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement* resultElement) = 0; 145 virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement* resultElement) = 0;
146 146
147 virtual bool layoutObjectIsNeeded(const LayoutStyle&) override { return fals e; } 147 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override { return fa lse; }
148 148
149 enum BeginOrEnd { 149 enum BeginOrEnd {
150 Begin, 150 Begin,
151 End 151 End
152 }; 152 };
153 153
154 SMILTime findInstanceTime(BeginOrEnd, SMILTime minimumTime, bool equalsMinim umOK) const; 154 SMILTime findInstanceTime(BeginOrEnd, SMILTime minimumTime, bool equalsMinim umOK) const;
155 155
156 enum ResolveInterval { 156 enum ResolveInterval {
157 FirstInterval, 157 FirstInterval,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 { 284 {
285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag) 285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag)
286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag)); 286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag));
287 } 287 }
288 288
289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); 289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement);
290 290
291 } 291 }
292 292
293 #endif // SVGSMILElement_h 293 #endif // SVGSMILElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGViewElement.h ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698