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

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

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 6 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
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/html/HTMLMarqueeElement.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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details. 17 * Library General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Library General Public License 19 * You should have received a copy of the GNU Library General Public License
20 * along with this library; see the file COPYING.LIB. If not, write to 20 * along with this library; see the file COPYING.LIB. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 */ 23 */
24 24
25 #include "config.h" 25 #include "config.h"
26 #include "core/html/HTMLLinkElement.h" 26 #include "core/html/HTMLLinkElement.h"
27 27
28 #include <wtf/StdLibExtras.h>
29 #include "HTMLNames.h" 28 #include "HTMLNames.h"
30 #include "bindings/v8/ScriptEventListener.h" 29 #include "bindings/v8/ScriptEventListener.h"
31 #include "core/css/MediaList.h" 30 #include "core/css/MediaList.h"
32 #include "core/css/MediaQueryEvaluator.h" 31 #include "core/css/MediaQueryEvaluator.h"
33 #include "core/css/StyleSheetContents.h" 32 #include "core/css/StyleSheetContents.h"
34 #include "core/css/resolver/StyleResolver.h" 33 #include "core/css/resolver/StyleResolver.h"
35 #include "core/dom/Attribute.h" 34 #include "core/dom/Attribute.h"
36 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
37 #include "core/dom/DocumentFragment.h"
38 #include "core/dom/DocumentStyleSheetCollection.h" 36 #include "core/dom/DocumentStyleSheetCollection.h"
39 #include "core/dom/Event.h" 37 #include "core/dom/Event.h"
40 #include "core/dom/EventSender.h" 38 #include "core/dom/EventSender.h"
41 #include "core/html/HTMLImportsController.h" 39 #include "core/html/HTMLImportsController.h"
42 #include "core/loader/FrameLoader.h" 40 #include "core/loader/FrameLoader.h"
43 #include "core/loader/cache/CachedCSSStyleSheet.h" 41 #include "core/loader/cache/CachedCSSStyleSheet.h"
44 #include "core/loader/cache/CachedResourceLoader.h" 42 #include "core/loader/cache/CachedResourceLoader.h"
45 #include "core/loader/cache/CachedResourceRequest.h" 43 #include "core/loader/cache/CachedResourceRequest.h"
46 #include "core/page/Frame.h" 44 #include "core/page/Frame.h"
47 #include "core/page/FrameView.h" 45 #include "core/page/FrameView.h"
46 #include "wtf/StdLibExtras.h"
48 47
49 namespace WebCore { 48 namespace WebCore {
50 49
51 using namespace HTMLNames; 50 using namespace HTMLNames;
52 51
53 static LinkEventSender& linkLoadEventSender() 52 static LinkEventSender& linkLoadEventSender()
54 { 53 {
55 DEFINE_STATIC_LOCAL(LinkEventSender, sharedLoadEventSender, (eventNames().lo adEvent)); 54 DEFINE_STATIC_LOCAL(LinkEventSender, sharedLoadEventSender, (eventNames().lo adEvent));
56 return sharedLoadEventSender; 55 return sharedLoadEventSender;
57 } 56 }
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 void LinkStyle::ownerRemoved() 610 void LinkStyle::ownerRemoved()
612 { 611 {
613 if (m_sheet) 612 if (m_sheet)
614 clearSheet(); 613 clearSheet();
615 614
616 if (styleSheetIsLoading()) 615 if (styleSheetIsLoading())
617 removePendingSheet(RemovePendingSheetNotifyLater); 616 removePendingSheet(RemovePendingSheetNotifyLater);
618 } 617 }
619 618
620 } // namespace WebCore 619 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/html/HTMLMarqueeElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698