Chromium Code Reviews| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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_END() | 166 IPC_STRUCT_TRAITS_END() |
| 167 | 167 |
| 168 IPC_STRUCT_TRAITS_BEGIN(content::ScreenInfo) | 168 IPC_STRUCT_TRAITS_BEGIN(content::ScreenInfo) |
| 169 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) | 169 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) |
| 170 IPC_STRUCT_TRAITS_MEMBER(depth) | 170 IPC_STRUCT_TRAITS_MEMBER(depth) |
| 171 IPC_STRUCT_TRAITS_MEMBER(depth_per_component) | 171 IPC_STRUCT_TRAITS_MEMBER(depth_per_component) |
| 172 IPC_STRUCT_TRAITS_MEMBER(is_monochrome) | 172 IPC_STRUCT_TRAITS_MEMBER(is_monochrome) |
| 173 IPC_STRUCT_TRAITS_MEMBER(icc_profile) | |
|
ccameron
2016/09/08 22:05:03
We send this same ICC profile here
https://cs.chro
dcheng
2016/09/09 19:32:19
My understanding is we're sending this from browse
| |
| 173 IPC_STRUCT_TRAITS_MEMBER(rect) | 174 IPC_STRUCT_TRAITS_MEMBER(rect) |
| 174 IPC_STRUCT_TRAITS_MEMBER(available_rect) | 175 IPC_STRUCT_TRAITS_MEMBER(available_rect) |
| 175 IPC_STRUCT_TRAITS_MEMBER(orientation_type) | 176 IPC_STRUCT_TRAITS_MEMBER(orientation_type) |
| 176 IPC_STRUCT_TRAITS_MEMBER(orientation_angle) | 177 IPC_STRUCT_TRAITS_MEMBER(orientation_angle) |
| 177 IPC_STRUCT_TRAITS_END() | 178 IPC_STRUCT_TRAITS_END() |
| 178 | 179 |
| 179 IPC_STRUCT_TRAITS_BEGIN(content::ResizeParams) | 180 IPC_STRUCT_TRAITS_BEGIN(content::ResizeParams) |
| 180 IPC_STRUCT_TRAITS_MEMBER(screen_info) | 181 IPC_STRUCT_TRAITS_MEMBER(screen_info) |
| 181 IPC_STRUCT_TRAITS_MEMBER(new_size) | 182 IPC_STRUCT_TRAITS_MEMBER(new_size) |
| 182 IPC_STRUCT_TRAITS_MEMBER(physical_backing_size) | 183 IPC_STRUCT_TRAITS_MEMBER(physical_backing_size) |
| (...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1168 int /* y */) | 1169 int /* y */) |
| 1169 | 1170 |
| 1170 #elif defined(OS_MACOSX) | 1171 #elif defined(OS_MACOSX) |
| 1171 // Receives content of a web page as plain text. | 1172 // Receives content of a web page as plain text. |
| 1172 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1173 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1173 #endif | 1174 #endif |
| 1174 | 1175 |
| 1175 // Adding a new message? Stick to the sort order above: first platform | 1176 // Adding a new message? Stick to the sort order above: first platform |
| 1176 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1177 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1177 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1178 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |