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

Unified Diff: content/common/view_messages.h

Issue 2096633002: Adds scroll position/scale emulation to DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 7b72fc7cc58172335c916af64ce743425cf3a90a..5f4ca8d7101856baa5bd2ce3f4f2cd53e99f4acd 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -163,6 +163,11 @@ IPC_STRUCT_TRAITS_BEGIN(blink::WebDeviceEmulationParams)
IPC_STRUCT_TRAITS_MEMBER(scale)
IPC_STRUCT_TRAITS_MEMBER(screenOrientationAngle)
IPC_STRUCT_TRAITS_MEMBER(screenOrientationType)
+ IPC_STRUCT_TRAITS_MEMBER(scrollPosition)
+ IPC_STRUCT_TRAITS_MEMBER(visualViewportSize)
+ IPC_STRUCT_TRAITS_MEMBER(visualViewportPosition)
+ IPC_STRUCT_TRAITS_MEMBER(visualViewportScale)
+ IPC_STRUCT_TRAITS_MEMBER(resizeWindow)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo)

Powered by Google App Engine
This is Rietveld 408576698