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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 --------------------------------------------------- | 144 // Input properties --------------------------------------------------- |
145 virtual void setHaveWheelEventHandlers(bool) { }; | 145 virtual void setHaveWheelEventHandlers(bool) { }; |
| 146 virtual void setHaveScrollEventHandlers(bool) { }; |
146 | 147 |
147 // Debugging / dangerous --------------------------------------------- | 148 // Debugging / dangerous --------------------------------------------- |
148 | 149 |
149 virtual bool haveWheelEventHandlers() const { return false; }; | 150 virtual bool haveWheelEventHandlers() const { return false; }; |
| 151 virtual bool haveScrollEventHandlers() const { return false; }; |
150 | 152 |
151 virtual int layerTreeId() const { return 0; } | 153 virtual int layerTreeId() const { return 0; } |
152 | 154 |
153 // Toggles the FPS counter in the HUD layer | 155 // Toggles the FPS counter in the HUD layer |
154 virtual void setShowFPSCounter(bool) { } | 156 virtual void setShowFPSCounter(bool) { } |
155 | 157 |
156 // Toggles the paint rects in the HUD layer | 158 // Toggles the paint rects in the HUD layer |
157 virtual void setShowPaintRects(bool) { } | 159 virtual void setShowPaintRects(bool) { } |
158 | 160 |
159 // Toggles the debug borders on layers | 161 // Toggles the debug borders on layers |
160 virtual void setShowDebugBorders(bool) { } | 162 virtual void setShowDebugBorders(bool) { } |
161 | 163 |
162 // Toggles scroll bottleneck rects on the HUD layer | 164 // Toggles scroll bottleneck rects on the HUD layer |
163 virtual void setShowScrollBottleneckRects(bool) { } | 165 virtual void setShowScrollBottleneckRects(bool) { } |
164 }; | 166 }; |
165 | 167 |
166 } // namespace blink | 168 } // namespace blink |
167 | 169 |
168 #endif // WebLayerTreeView_h | 170 #endif // WebLayerTreeView_h |
OLD | NEW |