| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 class PaintLayer; | 37 class PaintLayer; |
| 38 class DocumentLifecycle; | 38 class DocumentLifecycle; |
| 39 class GraphicsLayer; | 39 class GraphicsLayer; |
| 40 class IntPoint; | 40 class IntPoint; |
| 41 class JSONObject; | 41 class JSONObject; |
| 42 class Page; | 42 class Page; |
| 43 class LayoutPart; | 43 class LayoutPart; |
| 44 class Scrollbar; | 44 class Scrollbar; |
| 45 class ScrollingCoordinator; | 45 class ScrollingCoordinator; |
| 46 class VisualViewport; |
| 46 | 47 |
| 47 enum CompositingUpdateType { | 48 enum CompositingUpdateType { |
| 48 CompositingUpdateNone, | 49 CompositingUpdateNone, |
| 49 CompositingUpdateAfterGeometryChange, | 50 CompositingUpdateAfterGeometryChange, |
| 50 CompositingUpdateAfterCompositingInputChange, | 51 CompositingUpdateAfterCompositingInputChange, |
| 51 CompositingUpdateRebuildTree, | 52 CompositingUpdateRebuildTree, |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 enum CompositingStateTransitionType { | 55 enum CompositingStateTransitionType { |
| 55 NoCompositingStateChange, | 56 NoCompositingStateChange, |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 238 |
| 238 void applyOverlayFullscreenVideoAdjustmentIfNeeded(); | 239 void applyOverlayFullscreenVideoAdjustmentIfNeeded(); |
| 239 | 240 |
| 240 void updateContainerSizes(); | 241 void updateContainerSizes(); |
| 241 | 242 |
| 242 // Checks the given graphics layer against the compositor's horizontal and | 243 // Checks the given graphics layer against the compositor's horizontal and |
| 243 // vertical scrollbar graphics layers, returning the associated Scrollbar | 244 // vertical scrollbar graphics layers, returning the associated Scrollbar |
| 244 // instance if any, else nullptr. | 245 // instance if any, else nullptr. |
| 245 Scrollbar* graphicsLayerToScrollbar(const GraphicsLayer*) const; | 246 Scrollbar* graphicsLayerToScrollbar(const GraphicsLayer*) const; |
| 246 | 247 |
| 248 bool isMainFrame() const; |
| 249 VisualViewport& visualViewport() const; |
| 250 |
| 247 LayoutView& m_layoutView; | 251 LayoutView& m_layoutView; |
| 248 std::unique_ptr<GraphicsLayer> m_rootContentLayer; | 252 std::unique_ptr<GraphicsLayer> m_rootContentLayer; |
| 249 | 253 |
| 250 CompositingReasonFinder m_compositingReasonFinder; | 254 CompositingReasonFinder m_compositingReasonFinder; |
| 251 | 255 |
| 252 CompositingUpdateType m_pendingUpdateType; | 256 CompositingUpdateType m_pendingUpdateType; |
| 253 | 257 |
| 254 bool m_hasAcceleratedCompositing; | 258 bool m_hasAcceleratedCompositing; |
| 255 bool m_compositing; | 259 bool m_compositing; |
| 256 | 260 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 277 | 281 |
| 278 // Layers for overflow controls | 282 // Layers for overflow controls |
| 279 std::unique_ptr<GraphicsLayer> m_layerForHorizontalScrollbar; | 283 std::unique_ptr<GraphicsLayer> m_layerForHorizontalScrollbar; |
| 280 std::unique_ptr<GraphicsLayer> m_layerForVerticalScrollbar; | 284 std::unique_ptr<GraphicsLayer> m_layerForVerticalScrollbar; |
| 281 std::unique_ptr<GraphicsLayer> m_layerForScrollCorner; | 285 std::unique_ptr<GraphicsLayer> m_layerForScrollCorner; |
| 282 }; | 286 }; |
| 283 | 287 |
| 284 } // namespace blink | 288 } // namespace blink |
| 285 | 289 |
| 286 #endif // PaintLayerCompositor_h | 290 #endif // PaintLayerCompositor_h |
| OLD | NEW |