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(visualViewportSize) |
163 IPC_STRUCT_TRAITS_END() | 164 IPC_STRUCT_TRAITS_END() |
164 | 165 |
165 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) | 166 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) |
166 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) | 167 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) |
167 IPC_STRUCT_TRAITS_MEMBER(depth) | 168 IPC_STRUCT_TRAITS_MEMBER(depth) |
168 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) | 169 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) |
169 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) | 170 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) |
170 IPC_STRUCT_TRAITS_MEMBER(rect) | 171 IPC_STRUCT_TRAITS_MEMBER(rect) |
171 IPC_STRUCT_TRAITS_MEMBER(availableRect) | 172 IPC_STRUCT_TRAITS_MEMBER(availableRect) |
172 IPC_STRUCT_TRAITS_MEMBER(orientationType) | 173 IPC_STRUCT_TRAITS_MEMBER(orientationType) |
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1179 int /* y */) | 1180 int /* y */) |
1180 | 1181 |
1181 #elif defined(OS_MACOSX) | 1182 #elif defined(OS_MACOSX) |
1182 // Receives content of a web page as plain text. | 1183 // Receives content of a web page as plain text. |
1183 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1184 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1184 #endif | 1185 #endif |
1185 | 1186 |
1186 // Adding a new message? Stick to the sort order above: first platform | 1187 // Adding a new message? Stick to the sort order above: first platform |
1187 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1188 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1188 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1189 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |