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

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

Issue 351923005: Refactoring activity logger. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 bool shouldProcessStyle() { return linkResourceToProcess() && linkStyle(); } 160 bool shouldProcessStyle() { return linkResourceToProcess() && linkStyle(); }
161 bool isCreatedByParser() const { return m_createdByParser; } 161 bool isCreatedByParser() const { return m_createdByParser; }
162 162
163 // Parse the icon size attribute into |iconSizes|, make this method public 163 // Parse the icon size attribute into |iconSizes|, make this method public
164 // visible for testing purpose. 164 // visible for testing purpose.
165 static void parseSizesAttribute(const AtomicString& value, Vector<IntSize>& iconSizes); 165 static void parseSizesAttribute(const AtomicString& value, Vector<IntSize>& iconSizes);
166 166
167 virtual void trace(Visitor*) OVERRIDE; 167 virtual void trace(Visitor*) OVERRIDE;
168 168
169 private: 169 private:
170 virtual void attributeWillChange(const QualifiedName&, const AtomicString&, const AtomicString&) OVERRIDE;
170 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 171 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
171 172
172 LinkStyle* linkStyle() const; 173 LinkStyle* linkStyle() const;
173 LinkImport* linkImport() const; 174 LinkImport* linkImport() const;
174 LinkResource* linkResourceToProcess(); 175 LinkResource* linkResourceToProcess();
175 176
176 void process(); 177 void process();
177 static void processCallback(Node*); 178 static void processCallback(Node*);
178 179
179 // From Node and subclassses 180 // From Node and subclassses
(...skipping 27 matching lines...) Expand all
207 Vector<IntSize> m_iconSizes; 208 Vector<IntSize> m_iconSizes;
208 LinkRelAttribute m_relAttribute; 209 LinkRelAttribute m_relAttribute;
209 210
210 bool m_createdByParser; 211 bool m_createdByParser;
211 bool m_isInShadowTree; 212 bool m_isInShadowTree;
212 }; 213 };
213 214
214 } //namespace 215 } //namespace
215 216
216 #endif 217 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698