| 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 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1898 // if necessary, and will return a handle to the channel on success. | 1898 // if necessary, and will return a handle to the channel on success. |
| 1899 // On error an empty string is returned. | 1899 // On error an empty string is returned. |
| 1900 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated. | 1900 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated. |
| 1901 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, | 1901 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, |
| 1902 int /* routing_id */, | 1902 int /* routing_id */, |
| 1903 int /* request_id */, | 1903 int /* request_id */, |
| 1904 base::FilePath /* path */) | 1904 base::FilePath /* path */) |
| 1905 | 1905 |
| 1906 // Opens a Pepper file asynchronously. The response returns a file descriptor | 1906 // Opens a Pepper file asynchronously. The response returns a file descriptor |
| 1907 // and an error code from base/platform_file.h. | 1907 // and an error code from base/platform_file.h. |
| 1908 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenPepperFile, | 1908 IPC_MESSAGE_CONTROL4(ViewHostMsg_AsyncOpenPepperFile, |
| 1909 base::FilePath /* file path */, | 1909 int /* routing_id */, |
| 1910 int /* pp_open_flags */, | 1910 base::FilePath /* file path */, |
| 1911 int /* message_id */) | 1911 int /* pp_open_flags */, |
| 1912 int /* message_id */) |
| 1912 | 1913 |
| 1913 // A renderer sends this to the browser process when it wants to access a PPAPI | 1914 // A renderer sends this to the browser process when it wants to access a PPAPI |
| 1914 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called | 1915 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called |
| 1915 // for every connection. | 1916 // for every connection. |
| 1916 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult. | 1917 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult. |
| 1917 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, | 1918 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, |
| 1918 int /* request_id */, | 1919 int /* request_id */, |
| 1919 GURL /* document_url */, | 1920 GURL /* document_url */, |
| 1920 base::FilePath /* plugin_path */) | 1921 base::FilePath /* plugin_path */) |
| 1921 | 1922 |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2356 // synchronously (see crbug.com/120597). This IPC message sends the character | 2357 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2357 // bounds after every composition change to always have correct bound info. | 2358 // bounds after every composition change to always have correct bound info. |
| 2358 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2359 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2359 ui::Range /* composition range */, | 2360 ui::Range /* composition range */, |
| 2360 std::vector<gfx::Rect> /* character bounds */) | 2361 std::vector<gfx::Rect> /* character bounds */) |
| 2361 #endif | 2362 #endif |
| 2362 | 2363 |
| 2363 // Adding a new message? Stick to the sort order above: first platform | 2364 // Adding a new message? Stick to the sort order above: first platform |
| 2364 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2365 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2365 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2366 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |