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