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

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

Issue 2586143004: Blur immediately if an attribute change made an element unfocasable. (Closed)
Patch Set: Update comments and a function name Created 3 years, 12 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) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved. 4 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 protected: 209 protected:
210 SVGElement(const QualifiedName&, 210 SVGElement(const QualifiedName&,
211 Document&, 211 Document&,
212 ConstructionType = CreateSVGElement); 212 ConstructionType = CreateSVGElement);
213 213
214 void parseAttribute(const QualifiedName&, 214 void parseAttribute(const QualifiedName&,
215 const AtomicString&, 215 const AtomicString&,
216 const AtomicString&) override; 216 const AtomicString&) override;
217 217
218 void attributeChanged( 218 void attributeChanged(const QualifiedName&,
219 const QualifiedName&, 219 const AtomicString&,
220 const AtomicString&, 220 const AtomicString&,
221 const AtomicString&, 221 AttributeModificationReason) override;
222 AttributeModificationReason = ModifiedDirectly) override;
223 222
224 void collectStyleForPresentationAttribute(const QualifiedName&, 223 void collectStyleForPresentationAttribute(const QualifiedName&,
225 const AtomicString&, 224 const AtomicString&,
226 MutableStylePropertySet*) override; 225 MutableStylePropertySet*) override;
227 226
228 InsertionNotificationRequest insertedInto(ContainerNode*) override; 227 InsertionNotificationRequest insertedInto(ContainerNode*) override;
229 void removedFrom(ContainerNode*) override; 228 void removedFrom(ContainerNode*) override;
230 void childrenChanged(const ChildrenChange&) override; 229 void childrenChanged(const ChildrenChange&) override;
231 230
232 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); 231 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ 336 inline bool isElementOfType<const thisType>(const SVGElement& element) { \
338 return is##thisType(element); \ 337 return is##thisType(element); \
339 } \ 338 } \
340 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 339 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
341 340
342 } // namespace blink 341 } // namespace blink
343 342
344 #include "core/SVGElementTypeHelpers.h" 343 #include "core/SVGElementTypeHelpers.h"
345 344
346 #endif // SVGElement_h 345 #endif // SVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLSlotElement.h ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698