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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 1978763004: Drag image should always use the real device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « content/renderer/render_widget.h ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/EmptyClients.h
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.h b/third_party/WebKit/Source/core/loader/EmptyClients.h
index c4084d3f33d6a014fb72a92c03cdf46c48b53bcc..24ca6f00bce19c8c2d5fae3fe464ba74bd06e7ef 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -138,6 +138,8 @@ public:
IntRect viewportToScreen(const IntRect& r, const Widget*) const override { return r; }
float windowToViewportScalar(const float s) const override { return s; }
WebScreenInfo screenInfo() const override { return WebScreenInfo(); }
+ float nonEmulatedDeviceScaleFactor() const { return 1.0f; }
+
void contentsSizeChanged(LocalFrame*, const IntSize&) const override {}
void showMouseOverURL(const HitTestResult&) override {}
« no previous file with comments | « content/renderer/render_widget.h ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698