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 |
| 149 virtual bool haveWheelEventHandlers() const { return false; }; |
| 150 |
146 virtual int layerTreeId() const { return 0; } | 151 virtual int layerTreeId() const { return 0; } |
147 | 152 |
148 // Toggles the FPS counter in the HUD layer | 153 // Toggles the FPS counter in the HUD layer |
149 virtual void setShowFPSCounter(bool) { } | 154 virtual void setShowFPSCounter(bool) { } |
150 | 155 |
151 // Toggles the paint rects in the HUD layer | 156 // Toggles the paint rects in the HUD layer |
152 virtual void setShowPaintRects(bool) { } | 157 virtual void setShowPaintRects(bool) { } |
153 | 158 |
154 // Toggles the debug borders on layers | 159 // Toggles the debug borders on layers |
155 virtual void setShowDebugBorders(bool) { } | 160 virtual void setShowDebugBorders(bool) { } |
156 | 161 |
157 // Toggles scroll bottleneck rects on the HUD layer | 162 // Toggles scroll bottleneck rects on the HUD layer |
158 virtual void setShowScrollBottleneckRects(bool) { } | 163 virtual void setShowScrollBottleneckRects(bool) { } |
159 }; | 164 }; |
160 | 165 |
161 } // namespace blink | 166 } // namespace blink |
162 | 167 |
163 #endif // WebLayerTreeView_h | 168 #endif // WebLayerTreeView_h |
OLD | NEW |