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

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

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

Powered by Google App Engine
This is Rietveld 408576698