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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.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/web/ChromeClientImpl.h
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.h b/third_party/WebKit/Source/web/ChromeClientImpl.h
index 819a9a814f2b72eae4fd0de243f31bdbed2819df..6230fa8c1bff1b6c93f66b7c6ed48abc129aca61 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -103,6 +103,7 @@ public:
void scheduleAnimation(Widget*) override;
IntRect viewportToScreen(const IntRect&, const Widget*) const override;
float windowToViewportScalar(const float) const override;
+ float nonEmulatedDeviceScaleFactor() const override;
WebScreenInfo screenInfo() const override;
void contentsSizeChanged(LocalFrame*, const IntSize&) const override;
void pageScaleFactorChanged() const override;
« no previous file with comments | « third_party/WebKit/Source/core/page/DragController.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698