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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/DevToolsEmulator.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 616f34076e2542b18f8e13a33d9a6f266885245f..e1f4e60dab2f6fe3d66fb59975ba5ed26f25c77d 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -297,8 +297,8 @@ class WEB_EXPORT WebViewImpl final
void setBackgroundColorOverride(WebColor);
void setZoomFactorOverride(float);
void setCompositorDeviceScaleFactorOverride(float);
- void setRootLayerTransform(const TransformationMatrix&);
- TransformationMatrix getRootLayerTransformForTesting() const;
+ void setDeviceEmulationTransform(const TransformationMatrix&);
+ TransformationMatrix getDeviceEmulationTransformForTesting() const;
Color baseBackgroundColor() const { return m_baseBackgroundColor; }
@@ -586,7 +586,7 @@ class WEB_EXPORT WebViewImpl final
void reallocateRenderer();
void updateLayerTreeViewport();
void updateLayerTreeBackgroundColor();
- void updateRootLayerTransform();
+ void updateDeviceEmulationTransform();
void updateLayerTreeDeviceScaleFactor();
// Helper function: Widens the width of |source| by the specified margins
@@ -689,7 +689,7 @@ class WEB_EXPORT WebViewImpl final
bool m_ignoreInputEvents;
float m_compositorDeviceScaleFactorOverride;
- TransformationMatrix m_rootLayerTransform;
+ TransformationMatrix m_deviceEmulationTransform;
// Webkit expects keyPress events to be suppressed if the associated keyDown
// event was handled. Safari implements this behavior by peeking out the
« no previous file with comments | « third_party/WebKit/Source/web/DevToolsEmulator.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698