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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.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
Index: third_party/WebKit/Source/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index 2fbe9321c3fee26b32e4b94913affab1d4d814c2..4000e65b1b871fce5d3d97dcbdcbd7ca230e8060 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -157,6 +157,8 @@ public:
virtual IntRect windowResizerRect() const = 0;
+ virtual float nonEmulatedDeviceScaleFactor() const = 0;
+
// Methods used by HostWindow.
virtual WebScreenInfo screenInfo() const = 0;
virtual void setCursor(const Cursor&, LocalFrame* localRoot) = 0;
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698