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

Side by Side Diff: Source/core/html/HTMLLinkElement.h

Issue 202893002: Replace elementHasLegalLinkAttribute() helper with virtual function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take tkent's feedback into consideration Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 LinkImport* linkImport() const; 170 LinkImport* linkImport() const;
171 LinkResource* linkResourceToProcess(); 171 LinkResource* linkResourceToProcess();
172 172
173 void process(); 173 void process();
174 static void processCallback(Node*); 174 static void processCallback(Node*);
175 175
176 // From Node and subclassses 176 // From Node and subclassses
177 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 177 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
178 virtual void removedFrom(ContainerNode*) OVERRIDE; 178 virtual void removedFrom(ContainerNode*) OVERRIDE;
179 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 179 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
180 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE;
180 virtual bool sheetLoaded() OVERRIDE; 181 virtual bool sheetLoaded() OVERRIDE;
181 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) OVERRIDE; 182 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) OVERRIDE;
182 virtual void startLoadingDynamicSheet() OVERRIDE; 183 virtual void startLoadingDynamicSheet() OVERRIDE;
183 virtual void finishParsingChildren() OVERRIDE; 184 virtual void finishParsingChildren() OVERRIDE;
184 185
185 // From LinkLoaderClient 186 // From LinkLoaderClient
186 virtual void linkLoaded() OVERRIDE; 187 virtual void linkLoaded() OVERRIDE;
187 virtual void linkLoadingErrored() OVERRIDE; 188 virtual void linkLoadingErrored() OVERRIDE;
188 virtual void didStartLinkPrerender() OVERRIDE; 189 virtual void didStartLinkPrerender() OVERRIDE;
189 virtual void didStopLinkPrerender() OVERRIDE; 190 virtual void didStopLinkPrerender() OVERRIDE;
(...skipping 12 matching lines...) Expand all
202 LinkRelAttribute m_relAttribute; 203 LinkRelAttribute m_relAttribute;
203 204
204 bool m_createdByParser; 205 bool m_createdByParser;
205 bool m_isInShadowTree; 206 bool m_isInShadowTree;
206 int m_beforeLoadRecurseCount; 207 int m_beforeLoadRecurseCount;
207 }; 208 };
208 209
209 } //namespace 210 } //namespace
210 211
211 #endif 212 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698