| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "core/paint/PaintLayerFragment.h" | 53 #include "core/paint/PaintLayerFragment.h" |
| 54 #include "core/paint/PaintLayerPainter.h" | 54 #include "core/paint/PaintLayerPainter.h" |
| 55 #include "core/paint/PaintLayerReflectionInfo.h" | 55 #include "core/paint/PaintLayerReflectionInfo.h" |
| 56 #include "core/paint/PaintLayerScrollableArea.h" | 56 #include "core/paint/PaintLayerScrollableArea.h" |
| 57 #include "core/paint/PaintLayerStackingNode.h" | 57 #include "core/paint/PaintLayerStackingNode.h" |
| 58 #include "core/paint/PaintLayerStackingNodeIterator.h" | 58 #include "core/paint/PaintLayerStackingNodeIterator.h" |
| 59 #include "platform/graphics/CompositingReasons.h" | 59 #include "platform/graphics/CompositingReasons.h" |
| 60 #include "platform/graphics/SquashingDisallowedReasons.h" | 60 #include "platform/graphics/SquashingDisallowedReasons.h" |
| 61 #include "public/platform/WebBlendMode.h" | 61 #include "public/platform/WebBlendMode.h" |
| 62 #include "wtf/Allocator.h" | 62 #include "wtf/Allocator.h" |
| 63 #include "wtf/AutoReset.h" |
| 63 #include "wtf/PtrUtil.h" | 64 #include "wtf/PtrUtil.h" |
| 64 #include <memory> | 65 #include <memory> |
| 65 | 66 |
| 66 namespace blink { | 67 namespace blink { |
| 67 | 68 |
| 68 class CompositedLayerMapping; | 69 class CompositedLayerMapping; |
| 69 class ComputedStyle; | 70 class ComputedStyle; |
| 70 class FilterEffectBuilder; | 71 class FilterEffectBuilder; |
| 71 class FilterOperations; | 72 class FilterOperations; |
| 72 class HitTestRequest; | 73 class HitTestRequest; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 83 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases | 84 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases |
| 84 }; | 85 }; |
| 85 | 86 |
| 86 // FIXME: remove this once the compositing query ASSERTS are no longer hit. | 87 // FIXME: remove this once the compositing query ASSERTS are no longer hit. |
| 87 class CORE_EXPORT DisableCompositingQueryAsserts { | 88 class CORE_EXPORT DisableCompositingQueryAsserts { |
| 88 STACK_ALLOCATED(); | 89 STACK_ALLOCATED(); |
| 89 WTF_MAKE_NONCOPYABLE(DisableCompositingQueryAsserts); | 90 WTF_MAKE_NONCOPYABLE(DisableCompositingQueryAsserts); |
| 90 public: | 91 public: |
| 91 DisableCompositingQueryAsserts(); | 92 DisableCompositingQueryAsserts(); |
| 92 private: | 93 private: |
| 93 TemporaryChange<CompositingQueryMode> m_disabler; | 94 AutoReset<CompositingQueryMode> m_disabler; |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 struct PaintLayerRareData { | 97 struct PaintLayerRareData { |
| 97 PaintLayerRareData(); | 98 PaintLayerRareData(); |
| 98 ~PaintLayerRareData(); | 99 ~PaintLayerRareData(); |
| 99 | 100 |
| 100 // Our current relative position offset. | 101 // Our current relative position offset. |
| 101 LayoutSize offsetForInFlowPosition; | 102 LayoutSize offsetForInFlowPosition; |
| 102 | 103 |
| 103 std::unique_ptr<TransformationMatrix> transform; | 104 std::unique_ptr<TransformationMatrix> transform; |
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 | 898 |
| 898 } // namespace blink | 899 } // namespace blink |
| 899 | 900 |
| 900 #ifndef NDEBUG | 901 #ifndef NDEBUG |
| 901 // Outside the WebCore namespace for ease of invocation from gdb. | 902 // Outside the WebCore namespace for ease of invocation from gdb. |
| 902 void showLayerTree(const blink::PaintLayer*); | 903 void showLayerTree(const blink::PaintLayer*); |
| 903 void showLayerTree(const blink::LayoutObject*); | 904 void showLayerTree(const blink::LayoutObject*); |
| 904 #endif | 905 #endif |
| 905 | 906 |
| 906 #endif // Layer_h | 907 #endif // Layer_h |
| OLD | NEW |