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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 16 matching lines...) Expand all
27 #include "core/fetch/ResourceClient.h" 27 #include "core/fetch/ResourceClient.h"
28 #include "wtf/HashCountedSet.h" 28 #include "wtf/HashCountedSet.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class HTMLBodyElement; 32 class HTMLBodyElement;
33 33
34 class CORE_EXPORT HTMLDocument : public Document { 34 class CORE_EXPORT HTMLDocument : public Document {
35 DEFINE_WRAPPERTYPEINFO(); 35 DEFINE_WRAPPERTYPEINFO();
36 public: 36 public:
37 static PassRefPtrWillBeRawPtr<HTMLDocument> create(const DocumentInit& initi alizer = DocumentInit()) 37 static RawPtr<HTMLDocument> create(const DocumentInit& initializer = Documen tInit())
38 { 38 {
39 return adoptRefWillBeNoop(new HTMLDocument(initializer)); 39 return new HTMLDocument(initializer);
40 } 40 }
41 ~HTMLDocument() override; 41 ~HTMLDocument() override;
42 42
43 const AtomicString& bgColor() const; 43 const AtomicString& bgColor() const;
44 void setBgColor(const AtomicString&); 44 void setBgColor(const AtomicString&);
45 const AtomicString& fgColor() const; 45 const AtomicString& fgColor() const;
46 void setFgColor(const AtomicString&); 46 void setFgColor(const AtomicString&);
47 const AtomicString& alinkColor() const; 47 const AtomicString& alinkColor() const;
48 void setAlinkColor(const AtomicString&); 48 void setAlinkColor(const AtomicString&);
49 const AtomicString& linkColor() const; 49 const AtomicString& linkColor() const;
50 void setLinkColor(const AtomicString&); 50 void setLinkColor(const AtomicString&);
51 const AtomicString& vlinkColor() const; 51 const AtomicString& vlinkColor() const;
52 void setVlinkColor(const AtomicString&); 52 void setVlinkColor(const AtomicString&);
53 53
54 void clear() { } 54 void clear() { }
55 55
56 void captureEvents() { } 56 void captureEvents() { }
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&); 67 static bool isCaseSensitiveAttribute(const QualifiedName&);
68 68
69 PassRefPtrWillBeRawPtr<Document> cloneDocumentWithoutChildren() final; 69 RawPtr<Document> cloneDocumentWithoutChildren() final;
70 70
71 protected: 71 protected:
72 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass); 72 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass);
73 73
74 private: 74 private:
75 HTMLBodyElement* htmlBodyElement() const; 75 HTMLBodyElement* htmlBodyElement() const;
76 76
77 const AtomicString& bodyAttributeValue(const QualifiedName&) const; 77 const AtomicString& bodyAttributeValue(const QualifiedName&) const;
78 void setBodyAttribute(const QualifiedName&, const AtomicString&); 78 void setBodyAttribute(const QualifiedName&, const AtomicString&);
79 79
(...skipping 12 matching lines...) Expand all
92 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) 92 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name)
93 { 93 {
94 return m_extraNamedItemCounts.contains(name); 94 return m_extraNamedItemCounts.contains(name);
95 } 95 }
96 96
97 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); 97 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument);
98 98
99 } // namespace blink 99 } // namespace blink
100 100
101 #endif // HTMLDocument_h 101 #endif // HTMLDocument_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDetailsElement.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