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

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: Emulator using GC, moved to FrameHost, addressed other comments. Created 4 years, 5 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 a70cb9c58cb5543f7c1bffb188827fd57ff15e1b..5b63b6ac34e9b33db6e96f2280340182d8aa9890 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -160,6 +160,10 @@ 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_END()
IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo)

Powered by Google App Engine
This is Rietveld 408576698