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

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: Fixes issues with visual viewport scroll override, mainFrameSize on scale override, clamps position… 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 be0c693e48da542d6f3120789bd8a735423bc916..42f1997bb36f99c490439ccdc7c8cd68a88ee17f 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