| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 virtual void CompositeAndReadbackAsync( | 132 virtual void CompositeAndReadbackAsync( |
| 133 WebCompositeAndReadbackAsyncCallback*) {} | 133 WebCompositeAndReadbackAsyncCallback*) {} |
| 134 | 134 |
| 135 // Prevents updates to layer tree from becoming visible. | 135 // Prevents updates to layer tree from becoming visible. |
| 136 virtual void SetDeferCommits(bool defer_commits) {} | 136 virtual void SetDeferCommits(bool defer_commits) {} |
| 137 | 137 |
| 138 // Identify key viewport layers to the compositor. | 138 // Identify key viewport layers to the compositor. |
| 139 virtual void RegisterViewportLayers( | 139 virtual void RegisterViewportLayers( |
| 140 const WebLayer* overscroll_elasticity_layer, | 140 const WebLayer* overscroll_elasticity_layer, |
| 141 const WebLayer* page_scale_layer, | 141 const WebLayer* page_scale_layer, |
| 142 const WebLayer* inner_viewport_container_layer, |
| 143 const WebLayer* outer_viewport_container_layer, |
| 142 const WebLayer* inner_viewport_scroll_layer, | 144 const WebLayer* inner_viewport_scroll_layer, |
| 143 const WebLayer* outer_viewport_scroll_layer) {} | 145 const WebLayer* outer_viewport_scroll_layer) {} |
| 144 virtual void ClearViewportLayers() {} | 146 virtual void ClearViewportLayers() {} |
| 145 | 147 |
| 146 // Used to update the active selection bounds. | 148 // Used to update the active selection bounds. |
| 147 virtual void RegisterSelection(const WebSelection&) {} | 149 virtual void RegisterSelection(const WebSelection&) {} |
| 148 virtual void ClearSelection() {} | 150 virtual void ClearSelection() {} |
| 149 | 151 |
| 150 // Mutations are plumbed back to the layer tree via the mutator client. | 152 // Mutations are plumbed back to the layer tree via the mutator client. |
| 151 virtual void SetMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {} | 153 virtual void SetMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {} |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 virtual void SetShowScrollBottleneckRects(bool) {} | 188 virtual void SetShowScrollBottleneckRects(bool) {} |
| 187 | 189 |
| 188 // ReportTimeCallback is a callback that should be fired when the | 190 // ReportTimeCallback is a callback that should be fired when the |
| 189 // corresponding Swap completes (either with DidSwap or DidNotSwap). | 191 // corresponding Swap completes (either with DidSwap or DidNotSwap). |
| 190 virtual void NotifySwapTime(ReportTimeCallback callback) {} | 192 virtual void NotifySwapTime(ReportTimeCallback callback) {} |
| 191 }; | 193 }; |
| 192 | 194 |
| 193 } // namespace blink | 195 } // namespace blink |
| 194 | 196 |
| 195 #endif // WebLayerTreeView_h | 197 #endif // WebLayerTreeView_h |
| OLD | NEW |