Chromium Code Reviews| Index: Source/core/testing/Internals.h |
| diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h |
| index 3b2a762bba9e43ef93a0c6152780fa03a838dcc4..1eebce09173949fd50057382cbfd9c8fafa7655b 100644 |
| --- a/Source/core/testing/Internals.h |
| +++ b/Source/core/testing/Internals.h |
| @@ -102,8 +102,8 @@ public: |
| bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; |
| bool hasContentElement(const Node*, ExceptionState&) const; |
| size_t countElementShadow(const Node*, ExceptionState&) const; |
| - String shadowPseudoId(Element*, ExceptionState&); |
| - void setShadowPseudoId(Element*, const String&, ExceptionState&); |
| + const AtomicString& shadowPseudoId(Element*, ExceptionState&); |
|
tkent
2014/01/06 23:29:49
Please don't change unrelated code.
ziran.sun
2014/01/07 17:18:26
This and the rest of similar changes are updated a
|
| + void setShadowPseudoId(Element*, const AtomicString&, ExceptionState&); |
| // CSS Animation / Transition testing. |
| unsigned numberOfActiveAnimations() const; |
| @@ -113,9 +113,9 @@ public: |
| bool isValidContentSelect(Element* insertionPoint, ExceptionState&); |
| Node* treeScopeRootNode(Node*, ExceptionState&); |
| Node* parentTreeScope(Node*, ExceptionState&); |
| - bool hasSelectorForIdInShadow(Element* host, const String& idValue, ExceptionState&); |
| - bool hasSelectorForClassInShadow(Element* host, const String& className, ExceptionState&); |
| - bool hasSelectorForAttributeInShadow(Element* host, const String& attributeName, ExceptionState&); |
| + bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, ExceptionState&); |
| + bool hasSelectorForClassInShadow(Element* host, const AtomicString& className, ExceptionState&); |
| + bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attributeName, ExceptionState&); |
| bool hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoClass, ExceptionState&); |
| unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionState&) const; |
| @@ -157,8 +157,8 @@ public: |
| bool wasLastChangeUserEdit(Element* textField, ExceptionState&); |
| bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); |
| - String suggestedValue(Element* inputElement, ExceptionState&); |
| - void setSuggestedValue(Element* inputElement, const String&, ExceptionState&); |
| + String suggestedValue(Element*, ExceptionState&); |
| + void setSuggestedValue(Element*, const String&, ExceptionState&); |
| void setEditingValue(Element* inputElement, const String&, ExceptionState&); |
| void setAutofilled(Element*, bool enabled, ExceptionState&); |
| void scrollElementToRect(Element*, long x, long y, long w, long h, ExceptionState&); |
| @@ -179,7 +179,7 @@ public: |
| int lastSpellCheckRequestSequence(Document*, ExceptionState&); |
| int lastSpellCheckProcessedSequence(Document*, ExceptionState&); |
| - Vector<String> userPreferredLanguages() const; |
| + Vector<AtomicString> userPreferredLanguages() const; |
| void setUserPreferredLanguages(const Vector<String>&); |
| unsigned wheelEventHandlerCount(Document*, ExceptionState&); |