| 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 2290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 // Message sent when the renderer changed the background color for the view. | 2301 // Message sent when the renderer changed the background color for the view. |
| 2302 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, | 2302 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, |
| 2303 uint32 /* bg_color */) | 2303 uint32 /* bg_color */) |
| 2304 | 2304 |
| 2305 // This message is an ACK that the batch state change has been received by | 2305 // This message is an ACK that the batch state change has been received by |
| 2306 // the renderer and all IME related messages should be processed accordingly. | 2306 // the renderer and all IME related messages should be processed accordingly. |
| 2307 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, | 2307 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, |
| 2308 bool /* is_begin */) | 2308 bool /* is_begin */) |
| 2309 | 2309 |
| 2310 // This message runs the MediaCodec for decoding audio for webaudio. | 2310 // This message runs the MediaCodec for decoding audio for webaudio. |
| 2311 IPC_MESSAGE_CONTROL2(ViewHostMsg_RunWebAudioMediaCodec, | 2311 IPC_MESSAGE_CONTROL3(ViewHostMsg_RunWebAudioMediaCodec, |
| 2312 base::SharedMemoryHandle /* encoded_data_handle */, | 2312 base::SharedMemoryHandle /* encoded_data_handle */, |
| 2313 base::FileDescriptor /* pcm_output */) | 2313 base::FileDescriptor /* pcm_output */, |
| 2314 size_t /* data_size*/) |
| 2314 | 2315 |
| 2315 // Sent by renderer to request a ViewMsg_VSync message for upcoming display | 2316 // Sent by renderer to request a ViewMsg_VSync message for upcoming display |
| 2316 // vsync events. If |enabled| is true, the vsync message will continue to be be | 2317 // vsync events. If |enabled| is true, the vsync message will continue to be be |
| 2317 // delivered until the notification is disabled. | 2318 // delivered until the notification is disabled. |
| 2318 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetVSyncNotificationEnabled, | 2319 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetVSyncNotificationEnabled, |
| 2319 bool /* enabled */) | 2320 bool /* enabled */) |
| 2320 | 2321 |
| 2321 #elif defined(OS_MACOSX) | 2322 #elif defined(OS_MACOSX) |
| 2322 // Request that the browser load a font into shared memory for us. | 2323 // Request that the browser load a font into shared memory for us. |
| 2323 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 2324 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2358 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2359 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2359 // for details. | 2360 // for details. |
| 2360 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2361 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2361 LOGFONT /* font_data */, | 2362 LOGFONT /* font_data */, |
| 2362 string16 /* characters */) | 2363 string16 /* characters */) |
| 2363 #endif | 2364 #endif |
| 2364 | 2365 |
| 2365 // Adding a new message? Stick to the sort order above: first platform | 2366 // Adding a new message? Stick to the sort order above: first platform |
| 2366 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2367 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2367 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2368 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |