| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 5 * | 5 * |
| 6 * Other contributors: | 6 * Other contributors: |
| 7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
| 9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
| 10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 * applicable instead of those above. If you wish to allow use of your | 34 * applicable instead of those above. If you wish to allow use of your |
| 35 * version of this file only under the terms of one of those two | 35 * version of this file only under the terms of one of those two |
| 36 * licenses (the MPL or the GPL) and not to allow others to use your | 36 * licenses (the MPL or the GPL) and not to allow others to use your |
| 37 * version of this file under the LGPL, indicate your decision by | 37 * version of this file under the LGPL, indicate your decision by |
| 38 * deletingthe provisions above and replace them with the notice and | 38 * deletingthe provisions above and replace them with the notice and |
| 39 * other provisions required by the MPL or the GPL, as the case may be. | 39 * other provisions required by the MPL or the GPL, as the case may be. |
| 40 * If you do not delete the provisions above, a recipient may use your | 40 * If you do not delete the provisions above, a recipient may use your |
| 41 * version of this file under any of the LGPL, the MPL or the GPL. | 41 * version of this file under any of the LGPL, the MPL or the GPL. |
| 42 */ | 42 */ |
| 43 | 43 |
| 44 #include "config.h" | 44 #include "sky/engine/config.h" |
| 45 #include "core/rendering/RenderLayer.h" | 45 #include "sky/engine/core/rendering/RenderLayer.h" |
| 46 | 46 |
| 47 #include "gen/sky/core/CSSPropertyNames.h" | 47 #include "gen/sky/core/CSSPropertyNames.h" |
| 48 #include "core/dom/Document.h" | |
| 49 #include "core/dom/shadow/ShadowRoot.h" | |
| 50 #include "core/frame/FrameView.h" | |
| 51 #include "core/frame/LocalFrame.h" | |
| 52 #include "core/frame/Settings.h" | |
| 53 #include "core/page/Page.h" | |
| 54 #include "core/rendering/FilterEffectRenderer.h" | |
| 55 #include "core/rendering/HitTestRequest.h" | |
| 56 #include "core/rendering/HitTestResult.h" | |
| 57 #include "core/rendering/HitTestingTransformState.h" | |
| 58 #include "core/rendering/RenderGeometryMap.h" | |
| 59 #include "core/rendering/RenderInline.h" | |
| 60 #include "core/rendering/RenderTreeAsText.h" | |
| 61 #include "core/rendering/RenderView.h" | |
| 62 #include "core/rendering/compositing/CompositedLayerMapping.h" | |
| 63 #include "core/rendering/compositing/RenderLayerCompositor.h" | |
| 64 #include "platform/LengthFunctions.h" | |
| 65 #include "platform/Partitions.h" | |
| 66 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 48 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 67 #include "platform/TraceEvent.h" | 49 #include "sky/engine/core/dom/Document.h" |
| 68 #include "platform/geometry/FloatPoint3D.h" | 50 #include "sky/engine/core/dom/shadow/ShadowRoot.h" |
| 69 #include "platform/geometry/FloatRect.h" | 51 #include "sky/engine/core/frame/FrameView.h" |
| 70 #include "platform/geometry/TransformState.h" | 52 #include "sky/engine/core/frame/LocalFrame.h" |
| 71 #include "platform/graphics/GraphicsContextStateSaver.h" | 53 #include "sky/engine/core/frame/Settings.h" |
| 72 #include "platform/graphics/filters/ReferenceFilter.h" | 54 #include "sky/engine/core/page/Page.h" |
| 73 #include "platform/graphics/filters/SourceGraphic.h" | 55 #include "sky/engine/core/rendering/FilterEffectRenderer.h" |
| 74 #include "platform/transforms/ScaleTransformOperation.h" | 56 #include "sky/engine/core/rendering/HitTestRequest.h" |
| 75 #include "platform/transforms/TransformationMatrix.h" | 57 #include "sky/engine/core/rendering/HitTestResult.h" |
| 76 #include "platform/transforms/TranslateTransformOperation.h" | 58 #include "sky/engine/core/rendering/HitTestingTransformState.h" |
| 77 #include "public/platform/Platform.h" | 59 #include "sky/engine/core/rendering/RenderGeometryMap.h" |
| 78 #include "wtf/StdLibExtras.h" | 60 #include "sky/engine/core/rendering/RenderInline.h" |
| 79 #include "wtf/text/CString.h" | 61 #include "sky/engine/core/rendering/RenderTreeAsText.h" |
| 62 #include "sky/engine/core/rendering/RenderView.h" |
| 63 #include "sky/engine/core/rendering/compositing/CompositedLayerMapping.h" |
| 64 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h" |
| 65 #include "sky/engine/platform/LengthFunctions.h" |
| 66 #include "sky/engine/platform/Partitions.h" |
| 67 #include "sky/engine/platform/TraceEvent.h" |
| 68 #include "sky/engine/platform/geometry/FloatPoint3D.h" |
| 69 #include "sky/engine/platform/geometry/FloatRect.h" |
| 70 #include "sky/engine/platform/geometry/TransformState.h" |
| 71 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h" |
| 72 #include "sky/engine/platform/graphics/filters/ReferenceFilter.h" |
| 73 #include "sky/engine/platform/graphics/filters/SourceGraphic.h" |
| 74 #include "sky/engine/platform/transforms/ScaleTransformOperation.h" |
| 75 #include "sky/engine/platform/transforms/TransformationMatrix.h" |
| 76 #include "sky/engine/platform/transforms/TranslateTransformOperation.h" |
| 77 #include "sky/engine/public/platform/Platform.h" |
| 78 #include "sky/engine/wtf/StdLibExtras.h" |
| 79 #include "sky/engine/wtf/text/CString.h" |
| 80 | 80 |
| 81 namespace blink { | 81 namespace blink { |
| 82 | 82 |
| 83 namespace { | 83 namespace { |
| 84 | 84 |
| 85 static CompositingQueryMode gCompositingQueryMode = | 85 static CompositingQueryMode gCompositingQueryMode = |
| 86 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases; | 86 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases; |
| 87 | 87 |
| 88 } // namespace | 88 } // namespace |
| 89 | 89 |
| (...skipping 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2655 } | 2655 } |
| 2656 } | 2656 } |
| 2657 | 2657 |
| 2658 void showLayerTree(const blink::RenderObject* renderer) | 2658 void showLayerTree(const blink::RenderObject* renderer) |
| 2659 { | 2659 { |
| 2660 if (!renderer) | 2660 if (!renderer) |
| 2661 return; | 2661 return; |
| 2662 showLayerTree(renderer->enclosingLayer()); | 2662 showLayerTree(renderer->enclosingLayer()); |
| 2663 } | 2663 } |
| 2664 #endif | 2664 #endif |
| OLD | NEW |