| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2212 // Message sent when the renderer changed the background color for the view. | 2212 // Message sent when the renderer changed the background color for the view. |
| 2213 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, | 2213 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, |
| 2214 uint32 /* bg_color */) | 2214 uint32 /* bg_color */) |
| 2215 | 2215 |
| 2216 // This message is an ACK that the batch state change has been received by | 2216 // This message is an ACK that the batch state change has been received by |
| 2217 // the renderer and all IME related messages should be processed accordingly. | 2217 // the renderer and all IME related messages should be processed accordingly. |
| 2218 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, | 2218 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, |
| 2219 bool /* is_begin */) | 2219 bool /* is_begin */) |
| 2220 | 2220 |
| 2221 // This message runs the MediaCodec for decoding audio for webaudio. | 2221 // This message runs the MediaCodec for decoding audio for webaudio. |
| 2222 IPC_MESSAGE_CONTROL2(ViewHostMsg_RunWebAudioMediaCodec, | 2222 IPC_MESSAGE_CONTROL3(ViewHostMsg_RunWebAudioMediaCodec, |
| 2223 base::SharedMemoryHandle /* encoded_data_handle */, | 2223 base::SharedMemoryHandle /* encoded_data_handle */, |
| 2224 base::FileDescriptor /* pcm_output */) | 2224 base::FileDescriptor /* pcm_output */, |
| 2225 size_t /* data_size*/) |
| 2225 | 2226 |
| 2226 // Sent by renderer to request a ViewMsg_VSync message for upcoming display | 2227 // Sent by renderer to request a ViewMsg_VSync message for upcoming display |
| 2227 // vsync events. If |enabled| is true, the vsync message will continue to be be | 2228 // vsync events. If |enabled| is true, the vsync message will continue to be be |
| 2228 // delivered until the notification is disabled. | 2229 // delivered until the notification is disabled. |
| 2229 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetVSyncNotificationEnabled, | 2230 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetVSyncNotificationEnabled, |
| 2230 bool /* enabled */) | 2231 bool /* enabled */) |
| 2231 | 2232 |
| 2232 #elif defined(OS_MACOSX) | 2233 #elif defined(OS_MACOSX) |
| 2233 // Request that the browser load a font into shared memory for us. | 2234 // Request that the browser load a font into shared memory for us. |
| 2234 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 2235 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2269 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2270 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2270 // for details. | 2271 // for details. |
| 2271 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2272 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2272 LOGFONT /* font_data */, | 2273 LOGFONT /* font_data */, |
| 2273 string16 /* characters */) | 2274 string16 /* characters */) |
| 2274 #endif | 2275 #endif |
| 2275 | 2276 |
| 2276 // Adding a new message? Stick to the sort order above: first platform | 2277 // Adding a new message? Stick to the sort order above: first platform |
| 2277 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2278 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2278 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2279 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |