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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 IPC_STRUCT_TRAITS_MEMBER(screenPosition) | 156 IPC_STRUCT_TRAITS_MEMBER(screenPosition) |
157 IPC_STRUCT_TRAITS_MEMBER(screenSize) | 157 IPC_STRUCT_TRAITS_MEMBER(screenSize) |
158 IPC_STRUCT_TRAITS_MEMBER(viewPosition) | 158 IPC_STRUCT_TRAITS_MEMBER(viewPosition) |
159 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) | 159 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) |
160 IPC_STRUCT_TRAITS_MEMBER(viewSize) | 160 IPC_STRUCT_TRAITS_MEMBER(viewSize) |
161 IPC_STRUCT_TRAITS_MEMBER(fitToView) | 161 IPC_STRUCT_TRAITS_MEMBER(fitToView) |
162 IPC_STRUCT_TRAITS_MEMBER(offset) | 162 IPC_STRUCT_TRAITS_MEMBER(offset) |
163 IPC_STRUCT_TRAITS_MEMBER(scale) | 163 IPC_STRUCT_TRAITS_MEMBER(scale) |
164 IPC_STRUCT_TRAITS_MEMBER(screenOrientationAngle) | 164 IPC_STRUCT_TRAITS_MEMBER(screenOrientationAngle) |
165 IPC_STRUCT_TRAITS_MEMBER(screenOrientationType) | 165 IPC_STRUCT_TRAITS_MEMBER(screenOrientationType) |
| 166 IPC_STRUCT_TRAITS_MEMBER(scrollPosition) |
| 167 IPC_STRUCT_TRAITS_MEMBER(visualViewportSize) |
| 168 IPC_STRUCT_TRAITS_MEMBER(visualViewportPosition) |
| 169 IPC_STRUCT_TRAITS_MEMBER(visualViewportScale) |
| 170 IPC_STRUCT_TRAITS_MEMBER(resizeWindow) |
166 IPC_STRUCT_TRAITS_END() | 171 IPC_STRUCT_TRAITS_END() |
167 | 172 |
168 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) | 173 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) |
169 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) | 174 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) |
170 IPC_STRUCT_TRAITS_MEMBER(depth) | 175 IPC_STRUCT_TRAITS_MEMBER(depth) |
171 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) | 176 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) |
172 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) | 177 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) |
173 IPC_STRUCT_TRAITS_MEMBER(rect) | 178 IPC_STRUCT_TRAITS_MEMBER(rect) |
174 IPC_STRUCT_TRAITS_MEMBER(availableRect) | 179 IPC_STRUCT_TRAITS_MEMBER(availableRect) |
175 IPC_STRUCT_TRAITS_MEMBER(orientationType) | 180 IPC_STRUCT_TRAITS_MEMBER(orientationType) |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1249 int /* y */) | 1254 int /* y */) |
1250 | 1255 |
1251 #elif defined(OS_MACOSX) | 1256 #elif defined(OS_MACOSX) |
1252 // Receives content of a web page as plain text. | 1257 // Receives content of a web page as plain text. |
1253 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1258 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1254 #endif | 1259 #endif |
1255 | 1260 |
1256 // Adding a new message? Stick to the sort order above: first platform | 1261 // Adding a new message? Stick to the sort order above: first platform |
1257 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1262 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1258 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1263 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |