| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 const WebLayer* overscrollElasticityLayer, | 134 const WebLayer* overscrollElasticityLayer, |
| 135 const WebLayer* pageScaleLayer, | 135 const WebLayer* pageScaleLayer, |
| 136 const WebLayer* innerViewportScrollLayer, | 136 const WebLayer* innerViewportScrollLayer, |
| 137 const WebLayer* outerViewportScrollLayer) { } | 137 const WebLayer* outerViewportScrollLayer) { } |
| 138 virtual void clearViewportLayers() { } | 138 virtual void clearViewportLayers() { } |
| 139 | 139 |
| 140 // Used to update the active selection bounds. | 140 // Used to update the active selection bounds. |
| 141 virtual void registerSelection(const WebSelection&) { } | 141 virtual void registerSelection(const WebSelection&) { } |
| 142 virtual void clearSelection() { } | 142 virtual void clearSelection() { } |
| 143 | 143 |
| 144 // Input properties --------------------------------------------------- |
| 145 virtual void setHaveWheelEventHandlers(bool) { }; |
| 146 |
| 144 // Debugging / dangerous --------------------------------------------- | 147 // Debugging / dangerous --------------------------------------------- |
| 145 | 148 |
| 146 virtual int layerTreeId() const { return 0; } | 149 virtual int layerTreeId() const { return 0; } |
| 147 | 150 |
| 148 // Toggles the FPS counter in the HUD layer | 151 // Toggles the FPS counter in the HUD layer |
| 149 virtual void setShowFPSCounter(bool) { } | 152 virtual void setShowFPSCounter(bool) { } |
| 150 | 153 |
| 151 // Toggles the paint rects in the HUD layer | 154 // Toggles the paint rects in the HUD layer |
| 152 virtual void setShowPaintRects(bool) { } | 155 virtual void setShowPaintRects(bool) { } |
| 153 | 156 |
| 154 // Toggles the debug borders on layers | 157 // Toggles the debug borders on layers |
| 155 virtual void setShowDebugBorders(bool) { } | 158 virtual void setShowDebugBorders(bool) { } |
| 156 | 159 |
| 157 // Toggles scroll bottleneck rects on the HUD layer | 160 // Toggles scroll bottleneck rects on the HUD layer |
| 158 virtual void setShowScrollBottleneckRects(bool) { } | 161 virtual void setShowScrollBottleneckRects(bool) { } |
| 159 }; | 162 }; |
| 160 | 163 |
| 161 } // namespace blink | 164 } // namespace blink |
| 162 | 165 |
| 163 #endif // WebLayerTreeView_h | 166 #endif // WebLayerTreeView_h |
| OLD | NEW |