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

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

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: Created 4 years, 10 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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 void didModifyAttribute(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue); 656 void didModifyAttribute(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue);
657 void didRemoveAttribute(const QualifiedName&, const AtomicString& oldValue); 657 void didRemoveAttribute(const QualifiedName&, const AtomicString& oldValue);
658 658
659 void synchronizeAllAttributes() const; 659 void synchronizeAllAttributes() const;
660 void synchronizeAttribute(const QualifiedName&) const; 660 void synchronizeAttribute(const QualifiedName&) const;
661 661
662 void updateId(const AtomicString& oldId, const AtomicString& newId); 662 void updateId(const AtomicString& oldId, const AtomicString& newId);
663 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new Id); 663 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new Id);
664 void updateName(const AtomicString& oldName, const AtomicString& newName); 664 void updateName(const AtomicString& oldName, const AtomicString& newName);
665 665
666 NodeType nodeType() const final; 666 NodeType getNodeType() const final;
667 bool childTypeAllowed(NodeType) const final; 667 bool childTypeAllowed(NodeType) const final;
668 668
669 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt ring& value, SynchronizationOfLazyAttribute); 669 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt ring& value, SynchronizationOfLazyAttribute);
670 void appendAttributeInternal(const QualifiedName&, const AtomicString& value , SynchronizationOfLazyAttribute); 670 void appendAttributeInternal(const QualifiedName&, const AtomicString& value , SynchronizationOfLazyAttribute);
671 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); 671 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute);
672 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi cString&, AttributeModificationReason); 672 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi cString&, AttributeModificationReason);
673 673
674 #ifndef NDEBUG 674 #ifndef NDEBUG
675 void formatForDebugger(char* buffer, unsigned length) const override; 675 void formatForDebugger(char* buffer, unsigned length) const override;
676 #endif 676 #endif
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 946 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
947 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 947 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
948 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 948 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
949 { \ 949 { \
950 return adoptRefWillBeNoop(new T(tagName, document)); \ 950 return adoptRefWillBeNoop(new T(tagName, document)); \
951 } 951 }
952 952
953 } // namespace blink 953 } // namespace blink
954 954
955 #endif // Element_h 955 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698