| 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.h" | 9 #include "base/process.h" | 
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" | 
| (...skipping 2269 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2280                      base::SharedMemoryHandle /* encoded_data_handle */, | 2280                      base::SharedMemoryHandle /* encoded_data_handle */, | 
| 2281                      base::FileDescriptor /* pcm_output */, | 2281                      base::FileDescriptor /* pcm_output */, | 
| 2282                      uint32_t /* data_size*/) | 2282                      uint32_t /* data_size*/) | 
| 2283 | 2283 | 
| 2284 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 2284 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 
| 2285 // display events. If |enabled| is true, the BeginFrame message will continue | 2285 // display events. If |enabled| is true, the BeginFrame message will continue | 
| 2286 // to be be delivered until the notification is disabled. | 2286 // to be be delivered until the notification is disabled. | 
| 2287 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, | 2287 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, | 
| 2288                     bool /* enabled */) | 2288                     bool /* enabled */) | 
| 2289 | 2289 | 
|  | 2290 // Sent by the renderer to the browser to start a vibration with the given | 
|  | 2291 // duration. | 
|  | 2292 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | 
|  | 2293                      int64 /* milliseconds */) | 
|  | 2294 | 
|  | 2295 // Sent by the renderer to the browser to cancel the currently running | 
|  | 2296 // vibration, if there is one. | 
|  | 2297 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | 
|  | 2298 | 
| 2290 #elif defined(OS_MACOSX) | 2299 #elif defined(OS_MACOSX) | 
| 2291 // Request that the browser load a font into shared memory for us. | 2300 // Request that the browser load a font into shared memory for us. | 
| 2292 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 2301 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 
| 2293                            FontDescriptor /* font to load */, | 2302                            FontDescriptor /* font to load */, | 
| 2294                            uint32 /* buffer size */, | 2303                            uint32 /* buffer size */, | 
| 2295                            base::SharedMemoryHandle /* font data */, | 2304                            base::SharedMemoryHandle /* font data */, | 
| 2296                            uint32 /* font id */) | 2305                            uint32 /* font id */) | 
| 2297 | 2306 | 
| 2298 // Informs the browser that a plugin has gained or lost focus. | 2307 // Informs the browser that a plugin has gained or lost focus. | 
| 2299 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, | 2308 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2338 // synchronously (see crbug.com/120597). This IPC message sends the character | 2347 // synchronously (see crbug.com/120597). This IPC message sends the character | 
| 2339 // bounds after every composition change to always have correct bound info. | 2348 // bounds after every composition change to always have correct bound info. | 
| 2340 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2349 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 
| 2341                     ui::Range /* composition range */, | 2350                     ui::Range /* composition range */, | 
| 2342                     std::vector<gfx::Rect> /* character bounds */) | 2351                     std::vector<gfx::Rect> /* character bounds */) | 
| 2343 #endif | 2352 #endif | 
| 2344 | 2353 | 
| 2345 // Adding a new message? Stick to the sort order above: first platform | 2354 // Adding a new message? Stick to the sort order above: first platform | 
| 2346 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2355 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 
| 2347 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2356 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 
| OLD | NEW | 
|---|