OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/inspector/InspectorLayerTreeAgent.h" | 34 #include "core/inspector/InspectorLayerTreeAgent.h" |
35 | 35 |
36 #include "InspectorFrontend.h" | 36 #include "InspectorFrontend.h" |
37 #include "core/inspector/IdentifiersFactory.h" | 37 #include "core/inspector/IdentifiersFactory.h" |
38 #include "core/inspector/InspectorDOMAgent.h" | 38 #include "core/inspector/InspectorDOMAgent.h" |
39 #include "core/inspector/InspectorState.h" | 39 #include "core/inspector/InspectorState.h" |
40 #include "core/inspector/InstrumentingAgents.h" | 40 #include "core/inspector/InstrumentingAgents.h" |
41 #include "core/loader/DocumentLoader.h" | 41 #include "core/loader/DocumentLoader.h" |
42 #include "core/page/Frame.h" | 42 #include "core/page/Frame.h" |
43 #include "core/page/Page.h" | 43 #include "core/page/Page.h" |
44 #include "core/platform/graphics/IntRect.h" | |
45 #include "core/platform/graphics/transforms/TransformationMatrix.h" | |
46 #include "core/rendering/RenderLayer.h" | 44 #include "core/rendering/RenderLayer.h" |
47 #include "core/rendering/RenderLayerBacking.h" | 45 #include "core/rendering/RenderLayerBacking.h" |
48 #include "core/rendering/RenderLayerCompositor.h" | 46 #include "core/rendering/RenderLayerCompositor.h" |
49 #include "core/rendering/RenderView.h" | 47 #include "core/rendering/RenderView.h" |
| 48 #include "platform/geometry/IntRect.h" |
| 49 #include "platform/transforms/TransformationMatrix.h" |
50 #include "public/platform/WebCompositingReasons.h" | 50 #include "public/platform/WebCompositingReasons.h" |
51 #include "public/platform/WebLayer.h" | 51 #include "public/platform/WebLayer.h" |
52 | 52 |
53 namespace WebCore { | 53 namespace WebCore { |
54 | 54 |
55 namespace LayerTreeAgentState { | 55 namespace LayerTreeAgentState { |
56 static const char layerTreeAgentEnabled[] = "layerTreeAgentEnabled"; | 56 static const char layerTreeAgentEnabled[] = "layerTreeAgentEnabled"; |
57 }; | 57 }; |
58 | 58 |
59 static PassRefPtr<TypeBuilder::LayerTree::Layer> buildObjectForLayer(GraphicsLay
er* graphicsLayer, int nodeId) | 59 static PassRefPtr<TypeBuilder::LayerTree::Layer> buildObjectForLayer(GraphicsLay
er* graphicsLayer, int nodeId) |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 continue; | 303 continue; |
304 reasonStrings->addItem(compositingReasonNames[i].protocolName); | 304 reasonStrings->addItem(compositingReasonNames[i].protocolName); |
305 #ifndef _NDEBUG | 305 #ifndef _NDEBUG |
306 reasonsBitmask &= ~compositingReasonNames[i].mask; | 306 reasonsBitmask &= ~compositingReasonNames[i].mask; |
307 #endif | 307 #endif |
308 } | 308 } |
309 ASSERT(!reasonsBitmask); | 309 ASSERT(!reasonsBitmask); |
310 } | 310 } |
311 | 311 |
312 } // namespace WebCore | 312 } // namespace WebCore |
OLD | NEW |