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

Side by Side Diff: Source/core/rendering/compositing/CompositingReasonFinder.h

Issue 298723011: Make 'will-change: contents' suppress compositing in subtree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 | Annotate | Revision Log
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 CompositingReasonFinder_h 5 #ifndef CompositingReasonFinder_h
6 #define CompositingReasonFinder_h 6 #define CompositingReasonFinder_h
7 7
8 #include "core/rendering/RenderLayer.h" 8 #include "core/rendering/RenderLayer.h"
9 #include "core/rendering/compositing/CompositingTriggers.h" 9 #include "core/rendering/compositing/CompositingTriggers.h"
10 #include "platform/graphics/CompositingReasons.h" 10 #include "platform/graphics/CompositingReasons.h"
(...skipping 19 matching lines...) Expand all
30 bool requiresCompositingForScrollableFrame() const; 30 bool requiresCompositingForScrollableFrame() const;
31 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende rLayer::ViewportConstrainedNotCompositedReason*) const; 31 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende rLayer::ViewportConstrainedNotCompositedReason*) const;
32 32
33 private: 33 private:
34 bool isMainFrame() const; 34 bool isMainFrame() const;
35 35
36 CompositingReasons nonStyleDeterminedDirectReasons(const RenderLayer*) const ; 36 CompositingReasons nonStyleDeterminedDirectReasons(const RenderLayer*) const ;
37 37
38 bool requiresCompositingForTransform(RenderObject*) const; 38 bool requiresCompositingForTransform(RenderObject*) const;
39 bool requiresCompositingForFilters(RenderObject*) const; 39 bool requiresCompositingForFilters(RenderObject*) const;
40 bool requiresCompositingForAnimation(RenderObject*) const;
40 bool requiresCompositingForPositionSticky(RenderObject*, const RenderLayer*) const; 41 bool requiresCompositingForPositionSticky(RenderObject*, const RenderLayer*) const;
41 bool requiresCompositingForPositionFixed(RenderObject*, const RenderLayer*, RenderLayer::ViewportConstrainedNotCompositedReason*) const; 42 bool requiresCompositingForPositionFixed(RenderObject*, const RenderLayer*, RenderLayer::ViewportConstrainedNotCompositedReason*) const;
42 43
43 RenderView& m_renderView; 44 RenderView& m_renderView;
44 CompositingTriggerFlags m_compositingTriggers; 45 CompositingTriggerFlags m_compositingTriggers;
45 }; 46 };
46 47
47 } // namespace WebCore 48 } // namespace WebCore
48 49
49 #endif // CompositingReasonFinder_h 50 #endif // CompositingReasonFinder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698