Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/WebLayer.h ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebLayer.h ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698