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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLDocument.h

Issue 2313253002: Move HTMLDocument::isCaseSensitiveAttribute into SelectorChecker (Closed)
Patch Set: Created 4 years, 3 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void releaseEvents() { } 57 void releaseEvents() { }
58 58
59 void addNamedItem(const AtomicString& name); 59 void addNamedItem(const AtomicString& name);
60 void removeNamedItem(const AtomicString& name); 60 void removeNamedItem(const AtomicString& name);
61 bool hasNamedItem(const AtomicString& name); 61 bool hasNamedItem(const AtomicString& name);
62 62
63 void addExtraNamedItem(const AtomicString& name); 63 void addExtraNamedItem(const AtomicString& name);
64 void removeExtraNamedItem(const AtomicString& name); 64 void removeExtraNamedItem(const AtomicString& name);
65 bool hasExtraNamedItem(const AtomicString& name); 65 bool hasExtraNamedItem(const AtomicString& name);
66 66
67 static bool isCaseSensitiveAttribute(const QualifiedName&);
68
69 Document* cloneDocumentWithoutChildren() final; 67 Document* cloneDocumentWithoutChildren() final;
70 68
71 protected: 69 protected:
72 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass); 70 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass);
73 71
74 private: 72 private:
75 HTMLBodyElement* htmlBodyElement() const; 73 HTMLBodyElement* htmlBodyElement() const;
76 74
77 const AtomicString& bodyAttributeValue(const QualifiedName&) const; 75 const AtomicString& bodyAttributeValue(const QualifiedName&) const;
78 void setBodyAttribute(const QualifiedName&, const AtomicString&); 76 void setBodyAttribute(const QualifiedName&, const AtomicString&);
(...skipping 13 matching lines...) Expand all
92 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) 90 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name)
93 { 91 {
94 return m_extraNamedItemCounts.contains(name); 92 return m_extraNamedItemCounts.contains(name);
95 } 93 }
96 94
97 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); 95 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument);
98 96
99 } // namespace blink 97 } // namespace blink
100 98
101 #endif // HTMLDocument_h 99 #endif // HTMLDocument_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorChecker.cpp ('k') | third_party/WebKit/Source/core/html/HTMLDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698