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

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

Issue 2649573003: Revert of Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Created 3 years, 11 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/Source/web/tests/WebViewTest.cpp ('k') | no next file » | 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // Mutations are plumbed back to the layer tree via the mutator client. 153 // Mutations are plumbed back to the layer tree via the mutator client.
154 virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {} 154 virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {}
155 155
156 // For when the embedder itself change scales on the page (e.g. devtools) 156 // For when the embedder itself change scales on the page (e.g. devtools)
157 // and wants all of the content at the new scale to be crisp. 157 // and wants all of the content at the new scale to be crisp.
158 virtual void forceRecalculateRasterScales() {} 158 virtual void forceRecalculateRasterScales() {}
159 159
160 // Input properties --------------------------------------------------- 160 // Input properties ---------------------------------------------------
161 virtual void setEventListenerProperties(WebEventListenerClass, 161 virtual void setEventListenerProperties(WebEventListenerClass,
162 WebEventListenerProperties){}; 162 WebEventListenerProperties){};
163 virtual void updateTouchRectsForSubframeIfNecessary() {}
164 virtual void setHaveScrollEventHandlers(bool){}; 163 virtual void setHaveScrollEventHandlers(bool){};
165 164
166 // Debugging / dangerous --------------------------------------------- 165 // Debugging / dangerous ---------------------------------------------
167 166
168 virtual WebEventListenerProperties eventListenerProperties( 167 virtual WebEventListenerProperties eventListenerProperties(
169 WebEventListenerClass) const { 168 WebEventListenerClass) const {
170 return WebEventListenerProperties::Nothing; 169 return WebEventListenerProperties::Nothing;
171 }; 170 };
172 virtual bool haveScrollEventHandlers() const { return false; }; 171 virtual bool haveScrollEventHandlers() const { return false; };
173 172
174 virtual int layerTreeId() const { return 0; } 173 virtual int layerTreeId() const { return 0; }
175 174
176 // Toggles the FPS counter in the HUD layer 175 // Toggles the FPS counter in the HUD layer
177 virtual void setShowFPSCounter(bool) {} 176 virtual void setShowFPSCounter(bool) {}
178 177
179 // Toggles the paint rects in the HUD layer 178 // Toggles the paint rects in the HUD layer
180 virtual void setShowPaintRects(bool) {} 179 virtual void setShowPaintRects(bool) {}
181 180
182 // Toggles the debug borders on layers 181 // Toggles the debug borders on layers
183 virtual void setShowDebugBorders(bool) {} 182 virtual void setShowDebugBorders(bool) {}
184 183
185 // Toggles scroll bottleneck rects on the HUD layer 184 // Toggles scroll bottleneck rects on the HUD layer
186 virtual void setShowScrollBottleneckRects(bool) {} 185 virtual void setShowScrollBottleneckRects(bool) {}
187 }; 186 };
188 187
189 } // namespace blink 188 } // namespace blink
190 189
191 #endif // WebLayerTreeView_h 190 #endif // WebLayerTreeView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698