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

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

Issue 2649273002: Fix formatting errors in WebLayerTreeView.h (Closed)
Patch Set: Created 3 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 | « no previous file | 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
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() {} 163 virtual void updateTouchRectsForSubframeIfNecessary() {}
164 virtual void setHaveScrollEventHandlers(bool){}; 164 virtual void setHaveScrollEventHandlers(bool) {}
165 165
166 // Debugging / dangerous --------------------------------------------- 166 // Debugging / dangerous ---------------------------------------------
167 167
168 virtual WebEventListenerProperties eventListenerProperties( 168 virtual WebEventListenerProperties eventListenerProperties(
169 WebEventListenerClass) const { 169 WebEventListenerClass) const {
170 return WebEventListenerProperties::Nothing; 170 return WebEventListenerProperties::Nothing;
171 }; 171 }
172 virtual bool haveScrollEventHandlers() const { return false; }; 172 virtual bool haveScrollEventHandlers() const { return false; }
173 173
174 virtual int layerTreeId() const { return 0; } 174 virtual int layerTreeId() const { return 0; }
175 175
176 // Toggles the FPS counter in the HUD layer 176 // Toggles the FPS counter in the HUD layer
177 virtual void setShowFPSCounter(bool) {} 177 virtual void setShowFPSCounter(bool) {}
178 178
179 // Toggles the paint rects in the HUD layer 179 // Toggles the paint rects in the HUD layer
180 virtual void setShowPaintRects(bool) {} 180 virtual void setShowPaintRects(bool) {}
181 181
182 // Toggles the debug borders on layers 182 // Toggles the debug borders on layers
183 virtual void setShowDebugBorders(bool) {} 183 virtual void setShowDebugBorders(bool) {}
184 184
185 // Toggles scroll bottleneck rects on the HUD layer 185 // Toggles scroll bottleneck rects on the HUD layer
186 virtual void setShowScrollBottleneckRects(bool) {} 186 virtual void setShowScrollBottleneckRects(bool) {}
187 }; 187 };
188 188
189 } // namespace blink 189 } // namespace blink
190 190
191 #endif // WebLayerTreeView_h 191 #endif // WebLayerTreeView_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698