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

Unified Diff: Source/web/WebViewImpl.h

Issue 984023003: Avoid loosing of the display mode value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index 6048f2b8211a0eb431bd280068b608df9fd21025..6340eb5986bd688d5451e2ea55622a922cf77439 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -530,6 +530,7 @@ public:
virtual void forceNextWebGLContextCreationToFail() override;
IntSize mainFrameSize();
+ WebDisplayMode displayMode() const { return m_displayMode; }
private:
// TODO(bokan): Remains for legacy pinch. Remove once it's gone. Made private to
@@ -769,6 +770,7 @@ private:
float m_zoomFactorOverride;
bool m_userGestureObserved;
+ WebDisplayMode m_displayMode;
RefPtr<EventListener> m_popupMouseWheelEventListener;
};
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698