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

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

Issue 1743863002: Rename enums/functions that collide in chromium style in core/svg,xml (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-10: rebase Created 4 years, 9 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) 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 }; 184 };
185 185
186 Condition(Type, BeginOrEnd, const String& baseID, const String& name, SM ILTime offset, int repeat = -1); 186 Condition(Type, BeginOrEnd, const String& baseID, const String& name, SM ILTime offset, int repeat = -1);
187 static PassOwnPtrWillBeRawPtr<Condition> create(Type type, BeginOrEnd be ginOrEnd, const String& baseID, const String& name, SMILTime offset, int repeat = -1) 187 static PassOwnPtrWillBeRawPtr<Condition> create(Type type, BeginOrEnd be ginOrEnd, const String& baseID, const String& name, SMILTime offset, int repeat = -1)
188 { 188 {
189 return adoptPtrWillBeNoop(new Condition(type, beginOrEnd, baseID, na me, offset, repeat)); 189 return adoptPtrWillBeNoop(new Condition(type, beginOrEnd, baseID, na me, offset, repeat));
190 } 190 }
191 ~Condition(); 191 ~Condition();
192 DECLARE_TRACE(); 192 DECLARE_TRACE();
193 193
194 Type type() const { return m_type; } 194 Type getType() const { return m_type; }
195 BeginOrEnd beginOrEnd() const { return m_beginOrEnd; } 195 BeginOrEnd getBeginOrEnd() const { return m_beginOrEnd; }
196 String baseID() const { return m_baseID; } 196 String baseID() const { return m_baseID; }
197 String name() const { return m_name; } 197 String name() const { return m_name; }
198 SMILTime offset() const { return m_offset; } 198 SMILTime offset() const { return m_offset; }
199 int repeat() const { return m_repeat; } 199 int repeat() const { return m_repeat; }
200 SVGSMILElement* syncBase() const { return m_syncBase.get(); } 200 SVGSMILElement* syncBase() const { return m_syncBase.get(); }
201 void setSyncBase(SVGSMILElement* element) { m_syncBase = element; } 201 void setSyncBase(SVGSMILElement* element) { m_syncBase = element; }
202 ConditionEventListener* eventListener() const { return m_eventListener.g et(); } 202 ConditionEventListener* eventListener() const { return m_eventListener.g et(); }
203 void setEventListener(PassRefPtrWillBeRawPtr<ConditionEventListener>); 203 void setEventListener(PassRefPtrWillBeRawPtr<ConditionEventListener>);
204 204
205 private: 205 private:
(...skipping 78 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 } // namespace blink 291 } // namespace blink
292 292
293 #endif // SVGSMILElement_h 293 #endif // SVGSMILElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698