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

Side by Side Diff: chrome/common/extensions/extension_messages.h

Issue 11048047: Native Messaging revert-revert (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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) 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 extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/common/extensions/draggable_region.h" 10 #include "chrome/common/extensions/draggable_region.h"
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 // the given ID. This always returns a valid port ID which can be used for 448 // the given ID. This always returns a valid port ID which can be used for
449 // sending messages. If an error occurred, the opener will be notified 449 // sending messages. If an error occurred, the opener will be notified
450 // asynchronously. 450 // asynchronously.
451 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToExtension, 451 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToExtension,
452 int /* routing_id */, 452 int /* routing_id */,
453 std::string /* source_extension_id */, 453 std::string /* source_extension_id */,
454 std::string /* target_extension_id */, 454 std::string /* target_extension_id */,
455 std::string /* channel_name */, 455 std::string /* channel_name */,
456 int /* port_id */) 456 int /* port_id */)
457 457
458 IPC_SYNC_MESSAGE_CONTROL5_1(ExtensionHostMsg_OpenChannelToNativeApp,
459 int /* routing_id */,
460 std::string /* source_extension_id */,
461 std::string /* native_app_name */,
462 std::string /* channel_name */,
463 std::string /* connection_message */,
464 int /* port_id */)
465
458 // Get a port handle to the given tab. The handle can be used for sending 466 // Get a port handle to the given tab. The handle can be used for sending
459 // messages to the extension. 467 // messages to the extension.
460 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToTab, 468 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToTab,
461 int /* routing_id */, 469 int /* routing_id */,
462 int /* tab_id */, 470 int /* tab_id */,
463 std::string /* extension_id */, 471 std::string /* extension_id */,
464 std::string /* channel_name */, 472 std::string /* channel_name */,
465 int /* port_id */) 473 int /* port_id */)
466 474
467 // Send a message to an extension process. The handle is the value returned 475 // Send a message to an extension process. The handle is the value returned
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 // browser process. 562 // browser process.
555 IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID, 563 IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID,
556 int /* unique_id */) 564 int /* unique_id */)
557 565
558 // Resumes resource requests for a newly created app window. 566 // Resumes resource requests for a newly created app window.
559 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */) 567 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */)
560 568
561 // Sent by the renderer when the draggable regions are updated. 569 // Sent by the renderer when the draggable regions are updated.
562 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_UpdateDraggableRegions, 570 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_UpdateDraggableRegions,
563 std::vector<extensions::DraggableRegion> /* regions */) 571 std::vector<extensions::DraggableRegion> /* regions */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698