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

Side by Side Diff: third_party/WebKit/Source/core/css/StyleSheetList.h

Issue 2456753003: Use StyleEngine::resetAuthorStyle instead of clearScopedStyleResolver. (Closed)
Patch Set: Rebased Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 15 matching lines...) Expand all
26 #include "core/dom/TreeScope.h" 26 #include "core/dom/TreeScope.h"
27 #include "platform/heap/Handle.h" 27 #include "platform/heap/Handle.h"
28 #include "wtf/Forward.h" 28 #include "wtf/Forward.h"
29 #include "wtf/Vector.h" 29 #include "wtf/Vector.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class HTMLStyleElement; 33 class HTMLStyleElement;
34 class StyleSheet; 34 class StyleSheet;
35 35
36 class StyleSheetList final : public GarbageCollected<StyleSheetList>, 36 class CORE_EXPORT StyleSheetList final
37 public ScriptWrappable { 37 : public GarbageCollected<StyleSheetList>,
38 public ScriptWrappable {
38 DEFINE_WRAPPERTYPEINFO(); 39 DEFINE_WRAPPERTYPEINFO();
39 40
40 public: 41 public:
41 static StyleSheetList* create(TreeScope* treeScope) { 42 static StyleSheetList* create(TreeScope* treeScope) {
42 return new StyleSheetList(treeScope); 43 return new StyleSheetList(treeScope);
43 } 44 }
44 45
45 unsigned length(); 46 unsigned length();
46 StyleSheet* item(unsigned index); 47 StyleSheet* item(unsigned index);
47 48
(...skipping 10 matching lines...) Expand all
58 private: 59 private:
59 explicit StyleSheetList(TreeScope*); 60 explicit StyleSheetList(TreeScope*);
60 const HeapVector<TraceWrapperMember<StyleSheet>>& styleSheets() const; 61 const HeapVector<TraceWrapperMember<StyleSheet>>& styleSheets() const;
61 62
62 Member<TreeScope> m_treeScope; 63 Member<TreeScope> m_treeScope;
63 }; 64 };
64 65
65 } // namespace blink 66 } // namespace blink
66 67
67 #endif // StyleSheetList_h 68 #endif // StyleSheetList_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698