| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1438 return m_renderView->layer(); | 1438 return m_renderView->layer(); |
| 1439 } | 1439 } |
| 1440 | 1440 |
| 1441 GraphicsLayer* RenderLayerCompositor::rootGraphicsLayer() const | 1441 GraphicsLayer* RenderLayerCompositor::rootGraphicsLayer() const |
| 1442 { | 1442 { |
| 1443 if (m_overflowControlsHostLayer) | 1443 if (m_overflowControlsHostLayer) |
| 1444 return m_overflowControlsHostLayer.get(); | 1444 return m_overflowControlsHostLayer.get(); |
| 1445 return m_rootContentLayer.get(); | 1445 return m_rootContentLayer.get(); |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 GraphicsLayer* RenderLayerCompositor::clipLayer() const |
| 1449 { |
| 1450 return m_clipLayer.get(); |
| 1451 } |
| 1452 |
| 1448 GraphicsLayer* RenderLayerCompositor::scrollLayer() const | 1453 GraphicsLayer* RenderLayerCompositor::scrollLayer() const |
| 1449 { | 1454 { |
| 1450 return m_scrollLayer.get(); | 1455 return m_scrollLayer.get(); |
| 1451 } | 1456 } |
| 1452 | 1457 |
| 1453 void RenderLayerCompositor::setIsInWindow(bool isInWindow) | 1458 void RenderLayerCompositor::setIsInWindow(bool isInWindow) |
| 1454 { | 1459 { |
| 1455 if (!inCompositingMode()) | 1460 if (!inCompositingMode()) |
| 1456 return; | 1461 return; |
| 1457 | 1462 |
| (...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2761 info.addMember(m_layerForScrollCorner, "layerForScrollCorner"); | 2766 info.addMember(m_layerForScrollCorner, "layerForScrollCorner"); |
| 2762 #if ENABLE(RUBBER_BANDING) | 2767 #if ENABLE(RUBBER_BANDING) |
| 2763 info.addMember(m_layerForOverhangAreas, "layerForOverhangAreas"); | 2768 info.addMember(m_layerForOverhangAreas, "layerForOverhangAreas"); |
| 2764 info.addMember(m_contentShadowLayer, "contentShadowLayer"); | 2769 info.addMember(m_contentShadowLayer, "contentShadowLayer"); |
| 2765 info.addMember(m_layerForTopOverhangArea, "layerForTopOverhangArea"); | 2770 info.addMember(m_layerForTopOverhangArea, "layerForTopOverhangArea"); |
| 2766 info.addMember(m_layerForBottomOverhangArea, "layerForBottomOverhangArea"); | 2771 info.addMember(m_layerForBottomOverhangArea, "layerForBottomOverhangArea"); |
| 2767 #endif | 2772 #endif |
| 2768 } | 2773 } |
| 2769 | 2774 |
| 2770 } // namespace WebCore | 2775 } // namespace WebCore |
| OLD | NEW |