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

Unified Diff: Source/core/page/FrameView.h

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Another rebase Created 7 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 | « Source/core/page/DOMWindow.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FrameView.h
diff --git a/Source/core/page/FrameView.h b/Source/core/page/FrameView.h
index 45f973158fbf7d5f490f8ef13130c57f91aaef4f..549498597f368e0a677fc7ddcbc7f87dc1e5f22a 100644
--- a/Source/core/page/FrameView.h
+++ b/Source/core/page/FrameView.h
@@ -153,6 +153,9 @@ public:
virtual float visibleContentScaleFactor() const OVERRIDE { return m_visibleContentScaleFactor; }
void setVisibleContentScaleFactor(float);
+ virtual float inputEventsScaleFactor() const OVERRIDE;
+ void setInputEventsScaleFactorForEmulation(float);
+
virtual void setScrollPosition(const IntPoint&) OVERRIDE;
virtual void repaintFixedElementsAfterScrolling();
virtual void updateFixedElementsAfterScrolling();
@@ -540,6 +543,7 @@ private:
bool m_hasSoftwareFilters;
float m_visibleContentScaleFactor;
+ float m_inputEventsScaleFactorForEmulation;
PartialLayoutState m_partialLayout;
};
« no previous file with comments | « Source/core/page/DOMWindow.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698