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

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

Issue 1903803002: Do not block painting for in-body CSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed premature script execution Created 4 years, 7 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 m_fetchFollowingCORS = false; 118 m_fetchFollowingCORS = false;
119 } 119 }
120 120
121 Member<CSSStyleSheet> m_sheet; 121 Member<CSSStyleSheet> m_sheet;
122 DisabledState m_disabledState; 122 DisabledState m_disabledState;
123 PendingSheetType m_pendingSheetType; 123 PendingSheetType m_pendingSheetType;
124 bool m_loading; 124 bool m_loading;
125 bool m_firedLoad; 125 bool m_firedLoad;
126 bool m_loadedSheet; 126 bool m_loadedSheet;
127 bool m_fetchFollowingCORS; 127 bool m_fetchFollowingCORS;
128 bool m_beforeBody;
128 }; 129 };
129 130
130 131
131 class CORE_EXPORT HTMLLinkElement final : public HTMLElement, public LinkLoaderC lient, private DOMTokenListObserver { 132 class CORE_EXPORT HTMLLinkElement final : public HTMLElement, public LinkLoaderC lient, private DOMTokenListObserver {
132 DEFINE_WRAPPERTYPEINFO(); 133 DEFINE_WRAPPERTYPEINFO();
133 USING_GARBAGE_COLLECTED_MIXIN(HTMLLinkElement); 134 USING_GARBAGE_COLLECTED_MIXIN(HTMLLinkElement);
134 public: 135 public:
135 static HTMLLinkElement* create(Document&, bool createdByParser); 136 static HTMLLinkElement* create(Document&, bool createdByParser);
136 ~HTMLLinkElement() override; 137 ~HTMLLinkElement() override;
137 138
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 LinkRelAttribute m_relAttribute; 230 LinkRelAttribute m_relAttribute;
230 String m_scope; 231 String m_scope;
231 232
232 bool m_createdByParser; 233 bool m_createdByParser;
233 bool m_isInShadowTree; 234 bool m_isInShadowTree;
234 }; 235 };
235 236
236 } // namespace blink 237 } // namespace blink
237 238
238 #endif // HTMLLinkElement_h 239 #endif // HTMLLinkElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698