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

Unified Diff: Source/core/dom/Element.h

Issue 22508006: Refactor adding and removing named and IDed elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 2672aeb1f73d56ad09841d9bd69310d8f6fcd68d..a31b16fa11e94bbd6756e53e2f9c26b961e6ebb0 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -49,6 +49,7 @@ class Element;
class ElementRareData;
class ElementShadow;
class ExceptionState;
+class HTMLDocument;
class Image;
class InputMethodContext;
class IntSize;
@@ -723,9 +724,12 @@ private:
void synchronizeAttribute(const QualifiedName&) const;
void synchronizeAttribute(const AtomicString& localName) const;
- void updateId(const AtomicString& oldId, const AtomicString& newId);
- void updateId(TreeScope*, const AtomicString& oldId, const AtomicString& newId);
void updateName(const AtomicString& oldName, const AtomicString& newName);
+ void updateNameForTreeScope(TreeScope*, const AtomicString& oldName, const AtomicString& newName);
+ void updateNameForDocument(HTMLDocument*, const AtomicString& oldName, const AtomicString& newName);
+ void updateId(const AtomicString& oldId, const AtomicString& newId);
+ void updateIdForTreeScope(TreeScope*, const AtomicString& oldId, const AtomicString& newId);
+ void updateIdForDocument(HTMLDocument*, const AtomicString& oldId, const AtomicString& newId);
void updateLabel(TreeScope*, const AtomicString& oldForAttributeValue, const AtomicString& newForAttributeValue);
void scrollByUnits(int units, ScrollGranularity);
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698