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

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

Issue 2390923002: Fix blurry content after disabling dev tools emulation (Closed)
Patch Set: Add function for LayerTreeHostRemote Created 4 years, 2 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const WebLayer* outerViewportScrollLayer) {} 151 const WebLayer* outerViewportScrollLayer) {}
152 virtual void clearViewportLayers() {} 152 virtual void clearViewportLayers() {}
153 153
154 // Used to update the active selection bounds. 154 // Used to update the active selection bounds.
155 virtual void registerSelection(const WebSelection&) {} 155 virtual void registerSelection(const WebSelection&) {}
156 virtual void clearSelection() {} 156 virtual void clearSelection() {}
157 157
158 // Mutations are plumbed back to the layer tree via the mutator client. 158 // Mutations are plumbed back to the layer tree via the mutator client.
159 virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {} 159 virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {}
160 160
161 // For when the embedder itself change scales on the page (e.g. devtools)
162 // and wants all of the content at the new scale to be crisp.
163 virtual void forceRecalculateRasterScales() {}
164
161 // Input properties --------------------------------------------------- 165 // Input properties ---------------------------------------------------
162 virtual void setEventListenerProperties(WebEventListenerClass, 166 virtual void setEventListenerProperties(WebEventListenerClass,
163 WebEventListenerProperties){}; 167 WebEventListenerProperties){};
164 virtual void setHaveScrollEventHandlers(bool){}; 168 virtual void setHaveScrollEventHandlers(bool){};
165 169
166 // Debugging / dangerous --------------------------------------------- 170 // Debugging / dangerous ---------------------------------------------
167 171
168 virtual WebEventListenerProperties eventListenerProperties( 172 virtual WebEventListenerProperties eventListenerProperties(
169 WebEventListenerClass) const { 173 WebEventListenerClass) const {
170 return WebEventListenerProperties::Nothing; 174 return WebEventListenerProperties::Nothing;
(...skipping 11 matching lines...) Expand all
182 // Toggles the debug borders on layers 186 // Toggles the debug borders on layers
183 virtual void setShowDebugBorders(bool) {} 187 virtual void setShowDebugBorders(bool) {}
184 188
185 // Toggles scroll bottleneck rects on the HUD layer 189 // Toggles scroll bottleneck rects on the HUD layer
186 virtual void setShowScrollBottleneckRects(bool) {} 190 virtual void setShowScrollBottleneckRects(bool) {}
187 }; 191 };
188 192
189 } // namespace blink 193 } // namespace blink
190 194
191 #endif // WebLayerTreeView_h 195 #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