OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 IPC_STRUCT_TRAITS_MEMBER(screenPosition) | 153 IPC_STRUCT_TRAITS_MEMBER(screenPosition) |
154 IPC_STRUCT_TRAITS_MEMBER(screenSize) | 154 IPC_STRUCT_TRAITS_MEMBER(screenSize) |
155 IPC_STRUCT_TRAITS_MEMBER(viewPosition) | 155 IPC_STRUCT_TRAITS_MEMBER(viewPosition) |
156 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) | 156 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) |
157 IPC_STRUCT_TRAITS_MEMBER(viewSize) | 157 IPC_STRUCT_TRAITS_MEMBER(viewSize) |
158 IPC_STRUCT_TRAITS_MEMBER(fitToView) | 158 IPC_STRUCT_TRAITS_MEMBER(fitToView) |
159 IPC_STRUCT_TRAITS_MEMBER(offset) | 159 IPC_STRUCT_TRAITS_MEMBER(offset) |
160 IPC_STRUCT_TRAITS_MEMBER(scale) | 160 IPC_STRUCT_TRAITS_MEMBER(scale) |
161 IPC_STRUCT_TRAITS_MEMBER(screenOrientationAngle) | 161 IPC_STRUCT_TRAITS_MEMBER(screenOrientationAngle) |
162 IPC_STRUCT_TRAITS_MEMBER(screenOrientationType) | 162 IPC_STRUCT_TRAITS_MEMBER(screenOrientationType) |
| 163 IPC_STRUCT_TRAITS_MEMBER(scrollPosition) |
| 164 IPC_STRUCT_TRAITS_MEMBER(visualViewportSize) |
| 165 IPC_STRUCT_TRAITS_MEMBER(visualViewportPosition) |
| 166 IPC_STRUCT_TRAITS_MEMBER(visualViewportScale) |
163 IPC_STRUCT_TRAITS_END() | 167 IPC_STRUCT_TRAITS_END() |
164 | 168 |
165 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) | 169 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) |
166 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) | 170 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) |
167 IPC_STRUCT_TRAITS_MEMBER(depth) | 171 IPC_STRUCT_TRAITS_MEMBER(depth) |
168 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) | 172 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) |
169 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) | 173 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) |
170 IPC_STRUCT_TRAITS_MEMBER(rect) | 174 IPC_STRUCT_TRAITS_MEMBER(rect) |
171 IPC_STRUCT_TRAITS_MEMBER(availableRect) | 175 IPC_STRUCT_TRAITS_MEMBER(availableRect) |
172 IPC_STRUCT_TRAITS_MEMBER(orientationType) | 176 IPC_STRUCT_TRAITS_MEMBER(orientationType) |
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 int /* y */) | 1191 int /* y */) |
1188 | 1192 |
1189 #elif defined(OS_MACOSX) | 1193 #elif defined(OS_MACOSX) |
1190 // Receives content of a web page as plain text. | 1194 // Receives content of a web page as plain text. |
1191 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1195 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1192 #endif | 1196 #endif |
1193 | 1197 |
1194 // Adding a new message? Stick to the sort order above: first platform | 1198 // Adding a new message? Stick to the sort order above: first platform |
1195 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1199 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1196 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1200 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |