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

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

Issue 2487653002: Moved applyRuleSetChanges functions to StyleEngine. (Closed)
Patch Set: Added comment 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 | « no previous file | third_party/WebKit/Source/core/css/ActiveStyleSheets.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ActiveStyleSheets_h 5 #ifndef ActiveStyleSheets_h
6 #define ActiveStyleSheets_h 6 #define ActiveStyleSheets_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/HeapAllocator.h" 9 #include "platform/heap/HeapAllocator.h"
10 10
(...skipping 11 matching lines...) Expand all
22 NoActiveSheetsChanged, // Nothing changed. 22 NoActiveSheetsChanged, // Nothing changed.
23 ActiveSheetsChanged, // Sheets were added and/or inserted. 23 ActiveSheetsChanged, // Sheets were added and/or inserted.
24 ActiveSheetsAppended // Only additions, and all appended. 24 ActiveSheetsAppended // Only additions, and all appended.
25 }; 25 };
26 26
27 CORE_EXPORT ActiveSheetsChange 27 CORE_EXPORT ActiveSheetsChange
28 compareActiveStyleSheets(const ActiveStyleSheetVector& oldStyleSheets, 28 compareActiveStyleSheets(const ActiveStyleSheetVector& oldStyleSheets,
29 const ActiveStyleSheetVector& newStyleSheets, 29 const ActiveStyleSheetVector& newStyleSheets,
30 HeapVector<Member<RuleSet>>& changedRuleSets); 30 HeapVector<Member<RuleSet>>& changedRuleSets);
31 31
32 CORE_EXPORT void applyRuleSetChanges(
33 StyleEngine&,
34 TreeScope&,
35 const ActiveStyleSheetVector& oldStyleSheets,
36 const ActiveStyleSheetVector& newStyleSheets);
37
38 } // namespace blink 32 } // namespace blink
39 33
40 #endif // ActiveStyleSheets_h 34 #endif // ActiveStyleSheets_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ActiveStyleSheets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698