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

Side by Side Diff: sky/engine/core/css/invalidation/StyleInvalidator.h

Issue 686783002: Remove almost all of Oilpan (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « sky/engine/core/css/StylePropertySet.h ('k') | sky/engine/core/css/resolver/MediaQueryResult.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 StyleInvalidator_h 5 #ifndef StyleInvalidator_h
6 #define StyleInvalidator_h 6 #define StyleInvalidator_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class DescendantInvalidationSet; 12 class DescendantInvalidationSet;
13 class Document; 13 class Document;
14 class Element; 14 class Element;
15 class Node;
15 16
16 class StyleInvalidator { 17 class StyleInvalidator {
17 DISALLOW_ALLOCATION(); 18 DISALLOW_ALLOCATION();
18 public: 19 public:
19 StyleInvalidator(); 20 StyleInvalidator();
20 ~StyleInvalidator(); 21 ~StyleInvalidator();
21 void invalidate(Document&); 22 void invalidate(Document&);
22 void scheduleInvalidation(PassRefPtr<DescendantInvalidationSet>, Element&); 23 void scheduleInvalidation(PassRefPtr<DescendantInvalidationSet>, Element&);
23 24
24 // Clears all style invalidation state for the passed node. 25 // Clears all style invalidation state for the passed node.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 typedef HashMap<RawPtr<Element>, OwnPtr<InvalidationList> > PendingInvalidat ionMap; 86 typedef HashMap<RawPtr<Element>, OwnPtr<InvalidationList> > PendingInvalidat ionMap;
86 87
87 InvalidationList& ensurePendingInvalidationList(Element&); 88 InvalidationList& ensurePendingInvalidationList(Element&);
88 89
89 PendingInvalidationMap m_pendingInvalidationMap; 90 PendingInvalidationMap m_pendingInvalidationMap;
90 }; 91 };
91 92
92 } // namespace blink 93 } // namespace blink
93 94
94 #endif // StyleInvalidator_h 95 #endif // StyleInvalidator_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/StylePropertySet.h ('k') | sky/engine/core/css/resolver/MediaQueryResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698