OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1600 // TODO(hclam): change this to vector if we have channel numbers other than 2. | 1600 // TODO(hclam): change this to vector if we have channel numbers other than 2. |
1601 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, | 1601 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, |
1602 int /* stream_id */, | 1602 int /* stream_id */, |
1603 double /* left_channel */, | 1603 double /* left_channel */, |
1604 double /* right_channel */) | 1604 double /* right_channel */) |
1605 | 1605 |
1606 // A renderer sends this message when an extension process starts an API | 1606 // A renderer sends this message when an extension process starts an API |
1607 // request. The browser will always respond with a ViewMsg_ExtensionResponse. | 1607 // request. The browser will always respond with a ViewMsg_ExtensionResponse. |
1608 IPC_MESSAGE_ROUTED4(ViewHostMsg_ExtensionRequest, | 1608 IPC_MESSAGE_ROUTED4(ViewHostMsg_ExtensionRequest, |
1609 std::string /* name */, | 1609 std::string /* name */, |
1610 std::string /* argument */, | 1610 ListValue /* argument */, |
1611 int /* callback id */, | 1611 int /* callback id */, |
1612 bool /* has_callback */) | 1612 bool /* has_callback */) |
1613 | 1613 |
1614 // Notify the browser that this renderer added a listener to an event. | 1614 // Notify the browser that this renderer added a listener to an event. |
1615 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionAddListener, | 1615 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionAddListener, |
1616 std::string /* name */) | 1616 std::string /* name */) |
1617 | 1617 |
1618 // Notify the browser that this renderer removed a listener from an event. | 1618 // Notify the browser that this renderer removed a listener from an event. |
1619 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionRemoveListener, | 1619 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionRemoveListener, |
1620 std::string /* name */) | 1620 std::string /* name */) |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1834 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1834 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1835 FilePath /* the name of the file */, | 1835 FilePath /* the name of the file */, |
1836 int32 /* a unique message ID */) | 1836 int32 /* a unique message ID */) |
1837 | 1837 |
1838 // Asks the browser process to return the size of a DB file | 1838 // Asks the browser process to return the size of a DB file |
1839 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1839 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1840 FilePath /* the name of the file */, | 1840 FilePath /* the name of the file */, |
1841 int32 /* a unique message ID */) | 1841 int32 /* a unique message ID */) |
1842 | 1842 |
1843 IPC_END_MESSAGES(ViewHost) | 1843 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |