Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 262016: Implement chrome.extension.connectExternal and fix various API inconsistencies. (Closed)
Patch Set: addressed comments Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 1689
1690 // Wraps an IPC message that's destined to the worker on the renderer->browser 1690 // Wraps an IPC message that's destined to the worker on the renderer->browser
1691 // hop. 1691 // hop.
1692 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, 1692 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker,
1693 IPC::Message /* message */) 1693 IPC::Message /* message */)
1694 1694
1695 // Open a channel to all listening contexts owned by the extension with 1695 // Open a channel to all listening contexts owned by the extension with
1696 // the given ID. This always returns a valid port ID which can be used for 1696 // the given ID. This always returns a valid port ID which can be used for
1697 // sending messages. If an error occurred, the opener will be notified 1697 // sending messages. If an error occurred, the opener will be notified
1698 // asynchronously. 1698 // asynchronously.
1699 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_OpenChannelToExtension, 1699 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_OpenChannelToExtension,
1700 int /* routing_id */, 1700 int /* routing_id */,
1701 std::string /* extension_id */, 1701 std::string /* source_extension_id */,
1702 std::string /* target_extension_id */,
1702 std::string /* channel_name */, 1703 std::string /* channel_name */,
1703 int /* port_id */) 1704 int /* port_id */)
1704 1705
1705 // Get a port handle to the given tab. The handle can be used for sending 1706 // Get a port handle to the given tab. The handle can be used for sending
1706 // messages to the extension. 1707 // messages to the extension.
1707 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_OpenChannelToTab, 1708 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_OpenChannelToTab,
1708 int /* routing_id */, 1709 int /* routing_id */,
1709 int /* tab_id */, 1710 int /* tab_id */,
1710 std::string /* extension_id */, 1711 std::string /* extension_id */,
1711 std::string /* channel_name */, 1712 std::string /* channel_name */,
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1852 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1852 FilePath /* the name of the file */, 1853 FilePath /* the name of the file */,
1853 int32 /* a unique message ID */) 1854 int32 /* a unique message ID */)
1854 1855
1855 // Asks the browser process to return the size of a DB file 1856 // Asks the browser process to return the size of a DB file
1856 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1857 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1857 FilePath /* the name of the file */, 1858 FilePath /* the name of the file */,
1858 int32 /* a unique message ID */) 1859 int32 /* a unique message ID */)
1859 1860
1860 IPC_END_MESSAGES(ViewHost) 1861 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/extension.html ('k') | chrome/renderer/extensions/bindings_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698