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/html/HTMLLinkElement.h

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 9 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) 2003, 2008, 2010 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // 58 //
59 class LinkStyle final : public LinkResource, ResourceOwner<StyleSheetResource> { 59 class LinkStyle final : public LinkResource, ResourceOwner<StyleSheetResource> {
60 USING_FAST_MALLOC_WILL_BE_REMOVED(LinkStyle); 60 USING_FAST_MALLOC_WILL_BE_REMOVED(LinkStyle);
61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LinkStyle); 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LinkStyle);
62 public: 62 public:
63 static PassOwnPtrWillBeRawPtr<LinkStyle> create(HTMLLinkElement* owner); 63 static PassOwnPtrWillBeRawPtr<LinkStyle> create(HTMLLinkElement* owner);
64 64
65 explicit LinkStyle(HTMLLinkElement* owner); 65 explicit LinkStyle(HTMLLinkElement* owner);
66 ~LinkStyle() override; 66 ~LinkStyle() override;
67 67
68 Type type() const override { return Style; } 68 LinkResourceType type() const override { return Style; }
69 void process() override; 69 void process() override;
70 void ownerRemoved() override; 70 void ownerRemoved() override;
71 bool hasLoaded() const override { return m_loadedSheet; } 71 bool hasLoaded() const override { return m_loadedSheet; }
72 DECLARE_VIRTUAL_TRACE(); 72 DECLARE_VIRTUAL_TRACE();
73 73
74 void startLoadingDynamicSheet(); 74 void startLoadingDynamicSheet();
75 void notifyLoadedSheetAndAllCriticalSubresources(Node::LoadedSheetErrorStatu s); 75 void notifyLoadedSheetAndAllCriticalSubresources(Node::LoadedSheetErrorStatu s);
76 bool sheetLoaded(); 76 bool sheetLoaded();
77 77
78 void setDisabledState(bool); 78 void setDisabledState(bool);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 KURL href() const; 139 KURL href() const;
140 const AtomicString& rel() const; 140 const AtomicString& rel() const;
141 String media() const { return m_media; } 141 String media() const { return m_media; }
142 String typeValue() const { return m_type; } 142 String typeValue() const { return m_type; }
143 String asValue() const { return m_as; } 143 String asValue() const { return m_as; }
144 const LinkRelAttribute& relAttribute() const { return m_relAttribute; } 144 const LinkRelAttribute& relAttribute() const { return m_relAttribute; }
145 DOMTokenList& relList() const { return static_cast<DOMTokenList&>(*m_relList ); } 145 DOMTokenList& relList() const { return static_cast<DOMTokenList&>(*m_relList ); }
146 146
147 const AtomicString& type() const; 147 const AtomicString& type() const;
148 148
149 IconType iconType() const; 149 IconType getIconType() const;
150 150
151 // the icon sizes as parsed from the HTML attribute 151 // the icon sizes as parsed from the HTML attribute
152 const Vector<IntSize>& iconSizes() const; 152 const Vector<IntSize>& iconSizes() const;
153 153
154 bool async() const; 154 bool async() const;
155 155
156 CSSStyleSheet* sheet() const { return linkStyle() ? linkStyle()->sheet() : 0 ; } 156 CSSStyleSheet* sheet() const { return linkStyle() ? linkStyle()->sheet() : 0 ; }
157 Document* import() const; 157 Document* import() const;
158 158
159 bool styleSheetIsLoading() const; 159 bool styleSheetIsLoading() const;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 RawPtrWillBeMember<RelList> m_relList; 228 RawPtrWillBeMember<RelList> m_relList;
229 LinkRelAttribute m_relAttribute; 229 LinkRelAttribute m_relAttribute;
230 230
231 bool m_createdByParser; 231 bool m_createdByParser;
232 bool m_isInShadowTree; 232 bool m_isInShadowTree;
233 }; 233 };
234 234
235 } // namespace blink 235 } // namespace blink
236 236
237 #endif // HTMLLinkElement_h 237 #endif // HTMLLinkElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDialogElement.h ('k') | third_party/WebKit/Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698