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

Side by Side Diff: ipc/ipc.mojom

Issue 2381493003: Move ViewMsg_New to mojom (Closed)
Patch Set: . Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 module IPC.mojom; 5 module IPC.mojom;
6 6
7 // NOTE: This MUST match the value of MSG_ROUTING_NONE in src/ipc/ipc_message.h.
8 const int32 kRoutingIdNone = -2;
9
7 struct SerializedHandle { 10 struct SerializedHandle {
8 handle the_handle; 11 handle the_handle;
9 12
10 enum Type { 13 enum Type {
11 MOJO_HANDLE, 14 MOJO_HANDLE,
12 PLATFORM_FILE, 15 PLATFORM_FILE,
13 WIN_HANDLE, 16 WIN_HANDLE,
14 MACH_PORT, 17 MACH_PORT,
15 }; 18 };
16 19
(...skipping 11 matching lines...) Expand all
28 31
29 // Transmits a classical Chrome IPC message. 32 // Transmits a classical Chrome IPC message.
30 Receive(array<uint8> data, array<SerializedHandle>? handles); 33 Receive(array<uint8> data, array<SerializedHandle>? handles);
31 34
32 // Requests a Channel-associated interface. 35 // Requests a Channel-associated interface.
33 GetAssociatedInterface(string name, associated GenericInterface& request); 36 GetAssociatedInterface(string name, associated GenericInterface& request);
34 }; 37 };
35 38
36 // A strictly nominal interface used to identify Channel bootstrap requests. 39 // A strictly nominal interface used to identify Channel bootstrap requests.
37 interface ChannelBootstrap {}; 40 interface ChannelBootstrap {};
OLDNEW
« no previous file with comments | « content/test/layouttest_support.cc ('k') | services/shell/public/cpp/capabilities_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698