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

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

Issue 327773004: Remove include of StyleResolverState.h from StyleResolver.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased for landing Created 6 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/css/resolver/StyleResolver.cpp ('k') | no next file » | 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
(...skipping 15 matching lines...) Expand all
26 #include "core/html/HTMLLinkElement.h" 26 #include "core/html/HTMLLinkElement.h"
27 27
28 #include "bindings/v8/ScriptEventListener.h" 28 #include "bindings/v8/ScriptEventListener.h"
29 #include "core/HTMLNames.h" 29 #include "core/HTMLNames.h"
30 #include "core/css/MediaList.h" 30 #include "core/css/MediaList.h"
31 #include "core/css/MediaQueryEvaluator.h" 31 #include "core/css/MediaQueryEvaluator.h"
32 #include "core/css/StyleSheetContents.h" 32 #include "core/css/StyleSheetContents.h"
33 #include "core/css/resolver/StyleResolver.h" 33 #include "core/css/resolver/StyleResolver.h"
34 #include "core/dom/Attribute.h" 34 #include "core/dom/Attribute.h"
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/dom/StyleEngine.h"
36 #include "core/events/Event.h" 37 #include "core/events/Event.h"
37 #include "core/events/EventSender.h" 38 #include "core/events/EventSender.h"
38 #include "core/dom/StyleEngine.h"
39 #include "core/fetch/CSSStyleSheetResource.h" 39 #include "core/fetch/CSSStyleSheetResource.h"
40 #include "core/fetch/FetchRequest.h" 40 #include "core/fetch/FetchRequest.h"
41 #include "core/fetch/ResourceFetcher.h" 41 #include "core/fetch/ResourceFetcher.h"
42 #include "core/frame/FrameView.h" 42 #include "core/frame/FrameView.h"
43 #include "core/frame/LocalFrame.h" 43 #include "core/frame/LocalFrame.h"
44 #include "core/frame/csp/ContentSecurityPolicy.h" 44 #include "core/frame/csp/ContentSecurityPolicy.h"
45 #include "core/html/LinkManifest.h" 45 #include "core/html/LinkManifest.h"
46 #include "core/html/imports/LinkImport.h" 46 #include "core/html/imports/LinkImport.h"
47 #include "core/loader/FrameLoader.h" 47 #include "core/loader/FrameLoader.h"
48 #include "core/loader/FrameLoaderClient.h" 48 #include "core/loader/FrameLoaderClient.h"
49 #include "core/rendering/style/StyleInheritedData.h"
49 #include "platform/RuntimeEnabledFeatures.h" 50 #include "platform/RuntimeEnabledFeatures.h"
50 #include "wtf/StdLibExtras.h" 51 #include "wtf/StdLibExtras.h"
51 52
52 namespace WebCore { 53 namespace WebCore {
53 54
54 using namespace HTMLNames; 55 using namespace HTMLNames;
55 56
56 template <typename CharacterType> 57 template <typename CharacterType>
57 static void parseSizes(const CharacterType* value, unsigned length, Vector<IntSi ze>& iconSizes) 58 static void parseSizes(const CharacterType* value, unsigned length, Vector<IntSi ze>& iconSizes)
58 { 59 {
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 removePendingSheet(); 714 removePendingSheet();
714 } 715 }
715 716
716 void LinkStyle::trace(Visitor* visitor) 717 void LinkStyle::trace(Visitor* visitor)
717 { 718 {
718 visitor->trace(m_sheet); 719 visitor->trace(m_sheet);
719 LinkResource::trace(visitor); 720 LinkResource::trace(visitor);
720 } 721 }
721 722
722 } // namespace WebCore 723 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698