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

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

Issue 1413233005: tracing: Report ResourceClients and the reason for not deletable for web-caches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflected haraken's comments. Created 5 years, 1 month 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool hasSheet() const { return m_sheet; } 80 bool hasSheet() const { return m_sheet; }
81 bool isDisabled() const { return m_disabledState == Disabled; } 81 bool isDisabled() const { return m_disabledState == Disabled; }
82 bool isEnabledViaScript() const { return m_disabledState == EnabledViaScript ; } 82 bool isEnabledViaScript() const { return m_disabledState == EnabledViaScript ; }
83 bool isUnset() const { return m_disabledState == Unset; } 83 bool isUnset() const { return m_disabledState == Unset; }
84 84
85 CSSStyleSheet* sheet() const { return m_sheet.get(); } 85 CSSStyleSheet* sheet() const { return m_sheet.get(); }
86 86
87 private: 87 private:
88 // From StyleSheetResourceClient 88 // From StyleSheetResourceClient
89 void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) override; 89 void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) override;
90 String debugName() const override { return "LinkStyle"; }
90 91
91 enum DisabledState { 92 enum DisabledState {
92 Unset, 93 Unset,
93 EnabledViaScript, 94 EnabledViaScript,
94 Disabled 95 Disabled
95 }; 96 };
96 97
97 enum PendingSheetType { 98 enum PendingSheetType {
98 None, 99 None,
99 NonBlocking, 100 NonBlocking,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 Vector<IntSize> m_iconSizes; 223 Vector<IntSize> m_iconSizes;
223 LinkRelAttribute m_relAttribute; 224 LinkRelAttribute m_relAttribute;
224 225
225 bool m_createdByParser; 226 bool m_createdByParser;
226 bool m_isInShadowTree; 227 bool m_isInShadowTree;
227 }; 228 };
228 229
229 } // namespace blink 230 } // namespace blink
230 231
231 #endif // HTMLLinkElement_h 232 #endif // HTMLLinkElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageLoader.h ('k') | third_party/WebKit/Source/core/html/HTMLTrackElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698