| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // Mutations are plumbed back to the layer tree via the mutator client. | 154 // Mutations are plumbed back to the layer tree via the mutator client. |
| 155 virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {} | 155 virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {} |
| 156 | 156 |
| 157 // For when the embedder itself change scales on the page (e.g. devtools) | 157 // For when the embedder itself change scales on the page (e.g. devtools) |
| 158 // and wants all of the content at the new scale to be crisp. | 158 // and wants all of the content at the new scale to be crisp. |
| 159 virtual void forceRecalculateRasterScales() {} | 159 virtual void forceRecalculateRasterScales() {} |
| 160 | 160 |
| 161 // Input properties --------------------------------------------------- | 161 // Input properties --------------------------------------------------- |
| 162 virtual void setEventListenerProperties(WebEventListenerClass, | 162 virtual void setEventListenerProperties(WebEventListenerClass, |
| 163 WebEventListenerProperties) {} | 163 WebEventListenerProperties) {} |
| 164 virtual void updateTouchRectsForSubframeIfNecessary() {} | 164 virtual void updateEventRectsForSubframeIfNecessary() {} |
| 165 virtual void setHaveScrollEventHandlers(bool) {} | 165 virtual void setHaveScrollEventHandlers(bool) {} |
| 166 | 166 |
| 167 // Returns the FrameSinkId of the widget associated with this layer tree view. | 167 // Returns the FrameSinkId of the widget associated with this layer tree view. |
| 168 virtual cc::FrameSinkId getFrameSinkId() { return cc::FrameSinkId(); } | 168 virtual cc::FrameSinkId getFrameSinkId() { return cc::FrameSinkId(); } |
| 169 | 169 |
| 170 // Debugging / dangerous --------------------------------------------- | 170 // Debugging / dangerous --------------------------------------------- |
| 171 | 171 |
| 172 virtual WebEventListenerProperties eventListenerProperties( | 172 virtual WebEventListenerProperties eventListenerProperties( |
| 173 WebEventListenerClass) const { | 173 WebEventListenerClass) const { |
| 174 return WebEventListenerProperties::Nothing; | 174 return WebEventListenerProperties::Nothing; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 186 // Toggles the debug borders on layers | 186 // Toggles the debug borders on layers |
| 187 virtual void setShowDebugBorders(bool) {} | 187 virtual void setShowDebugBorders(bool) {} |
| 188 | 188 |
| 189 // Toggles scroll bottleneck rects on the HUD layer | 189 // Toggles scroll bottleneck rects on the HUD layer |
| 190 virtual void setShowScrollBottleneckRects(bool) {} | 190 virtual void setShowScrollBottleneckRects(bool) {} |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 } // namespace blink | 193 } // namespace blink |
| 194 | 194 |
| 195 #endif // WebLayerTreeView_h | 195 #endif // WebLayerTreeView_h |
| OLD | NEW |