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

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2349653002: Added support of getClientRects() for SVG Elements. (Closed)
Patch Set: Align with review comments Created 4 years, 2 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 void didModifyAttribute(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue); 708 void didModifyAttribute(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue);
709 void didRemoveAttribute(const QualifiedName&, const AtomicString& oldValue); 709 void didRemoveAttribute(const QualifiedName&, const AtomicString& oldValue);
710 710
711 void synchronizeAllAttributes() const; 711 void synchronizeAllAttributes() const;
712 void synchronizeAttribute(const QualifiedName&) const; 712 void synchronizeAttribute(const QualifiedName&) const;
713 713
714 void updateId(const AtomicString& oldId, const AtomicString& newId); 714 void updateId(const AtomicString& oldId, const AtomicString& newId);
715 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new Id); 715 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new Id);
716 void updateName(const AtomicString& oldName, const AtomicString& newName); 716 void updateName(const AtomicString& oldName, const AtomicString& newName);
717 717
718 void clientQuads(Vector<FloatQuad>& quads);
719
718 NodeType getNodeType() const final; 720 NodeType getNodeType() const final;
719 bool childTypeAllowed(NodeType) const final; 721 bool childTypeAllowed(NodeType) const final;
720 722
721 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt ring& value, SynchronizationOfLazyAttribute); 723 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt ring& value, SynchronizationOfLazyAttribute);
722 void appendAttributeInternal(const QualifiedName&, const AtomicString& value , SynchronizationOfLazyAttribute); 724 void appendAttributeInternal(const QualifiedName&, const AtomicString& value , SynchronizationOfLazyAttribute);
723 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); 725 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute);
724 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi cString&, AttributeModificationReason); 726 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi cString&, AttributeModificationReason);
725 727
726 bool pseudoStyleCacheIsInvalid(const ComputedStyle* currentStyle, ComputedSt yle* newStyle); 728 bool pseudoStyleCacheIsInvalid(const ComputedStyle* currentStyle, ComputedSt yle* newStyle);
727 729
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 static T* create(const QualifiedName&, Document&) 999 static T* create(const QualifiedName&, Document&)
998 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1000 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
999 T* T::create(const QualifiedName& tagName, Document& document) \ 1001 T* T::create(const QualifiedName& tagName, Document& document) \
1000 { \ 1002 { \
1001 return new T(tagName, document); \ 1003 return new T(tagName, document); \
1002 } 1004 }
1003 1005
1004 } // namespace blink 1006 } // namespace blink
1005 1007
1006 #endif // Element_h 1008 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/custom/getClientRects.html ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698