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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
151 IPC_STRUCT_TRAITS_MEMBER(height) | 151 IPC_STRUCT_TRAITS_MEMBER(height) |
152 IPC_STRUCT_TRAITS_END() | 152 IPC_STRUCT_TRAITS_END() |
153 | 153 |
154 IPC_STRUCT_TRAITS_BEGIN(blink::WebSize) | 154 IPC_STRUCT_TRAITS_BEGIN(blink::WebSize) |
155 IPC_STRUCT_TRAITS_MEMBER(width) | 155 IPC_STRUCT_TRAITS_MEMBER(width) |
156 IPC_STRUCT_TRAITS_MEMBER(height) | 156 IPC_STRUCT_TRAITS_MEMBER(height) |
157 IPC_STRUCT_TRAITS_END() | 157 IPC_STRUCT_TRAITS_END() |
158 | 158 |
159 IPC_STRUCT_TRAITS_BEGIN(blink::WebDeviceEmulationParams) | 159 IPC_STRUCT_TRAITS_BEGIN(blink::WebDeviceEmulationParams) |
160 IPC_STRUCT_TRAITS_MEMBER(screenPosition) | 160 IPC_STRUCT_TRAITS_MEMBER(screenPosition) |
161 IPC_STRUCT_TRAITS_MEMBER(screenSize) | |
nasko
2015/06/23 10:44:44
Is there a blink CL that is adding these members?
dgozman
2015/06/23 12:00:56
Sure, it's already committed: https://codereview.c
| |
162 IPC_STRUCT_TRAITS_MEMBER(viewPosition) | |
161 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) | 163 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) |
162 IPC_STRUCT_TRAITS_MEMBER(viewSize) | 164 IPC_STRUCT_TRAITS_MEMBER(viewSize) |
163 IPC_STRUCT_TRAITS_MEMBER(fitToView) | 165 IPC_STRUCT_TRAITS_MEMBER(fitToView) |
164 IPC_STRUCT_TRAITS_MEMBER(offset) | 166 IPC_STRUCT_TRAITS_MEMBER(offset) |
165 IPC_STRUCT_TRAITS_MEMBER(scale) | 167 IPC_STRUCT_TRAITS_MEMBER(scale) |
166 IPC_STRUCT_TRAITS_END() | 168 IPC_STRUCT_TRAITS_END() |
167 | 169 |
168 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) | 170 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) |
169 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) | 171 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) |
170 IPC_STRUCT_TRAITS_MEMBER(depth) | 172 IPC_STRUCT_TRAITS_MEMBER(depth) |
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1609 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1611 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1610 // for details. | 1612 // for details. |
1611 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1613 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1612 LOGFONT /* font_data */, | 1614 LOGFONT /* font_data */, |
1613 base::string16 /* characters */) | 1615 base::string16 /* characters */) |
1614 #endif | 1616 #endif |
1615 | 1617 |
1616 // Adding a new message? Stick to the sort order above: first platform | 1618 // Adding a new message? Stick to the sort order above: first platform |
1617 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1619 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1618 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1620 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |