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

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

Issue 1554903002: EventSender<T> singletons are better off on the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove no-op cancelEvent()s Created 4 years, 11 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 27 matching lines...) Expand all
38 #include "core/loader/LinkLoader.h" 38 #include "core/loader/LinkLoader.h"
39 #include "core/loader/LinkLoaderClient.h" 39 #include "core/loader/LinkLoaderClient.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class HTMLLinkElement; 43 class HTMLLinkElement;
44 class KURL; 44 class KURL;
45 class LinkImport; 45 class LinkImport;
46 46
47 template<typename T> class EventSender; 47 template<typename T> class EventSender;
48 typedef EventSender<HTMLLinkElement> LinkEventSender; 48 using LinkEventSender = EventSender<HTMLLinkElement>;
49 49
50 // 50 //
51 // LinkStyle handles dynaically change-able link resources, which is 51 // LinkStyle handles dynaically change-able link resources, which is
52 // typically @rel="stylesheet". 52 // typically @rel="stylesheet".
53 // 53 //
54 // It could be @rel="shortcut icon" or soething else though. Each of 54 // It could be @rel="shortcut icon" or soething else though. Each of
55 // types might better be handled by a separate class, but dynamically 55 // types might better be handled by a separate class, but dynamically
56 // changing @rel makes it harder to move such a design so we are 56 // changing @rel makes it harder to move such a design so we are
57 // sticking current way so far. 57 // sticking current way so far.
58 // 58 //
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 OwnPtrWillBeMember<RelList> m_relList; 227 OwnPtrWillBeMember<RelList> m_relList;
228 LinkRelAttribute m_relAttribute; 228 LinkRelAttribute m_relAttribute;
229 229
230 bool m_createdByParser; 230 bool m_createdByParser;
231 bool m_isInShadowTree; 231 bool m_isInShadowTree;
232 }; 232 };
233 233
234 } // namespace blink 234 } // namespace blink
235 235
236 #endif // HTMLLinkElement_h 236 #endif // HTMLLinkElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698