OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 sample { | 5 module sample { |
6 | 6 |
7 enum BarType { | 7 enum BarType { |
8 BAR_VERTICAL = 1 << 0, | 8 BAR_VERTICAL = 1 << 0, |
9 BAR_HORIZONTAL = (1 << 1) + 0, | 9 BAR_HORIZONTAL = (1 << 1) + 0, |
10 BAR_BOTH = BAR_VERTICAL | BAR_HORIZONTAL, | 10 BAR_BOTH = BAR_VERTICAL | BAR_HORIZONTAL, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 }; | 42 }; |
43 void Frobinate(Foo foo @0, int32 baz @1, handle<message_pipe> port @2) @0; | 43 void Frobinate(Foo foo @0, int32 baz @1, handle<message_pipe> port @2) @0; |
44 }; | 44 }; |
45 | 45 |
46 [Peer=Service] | 46 [Peer=Service] |
47 interface ServiceClient { | 47 interface ServiceClient { |
48 void DidFrobinate(int32 result @0) @0; | 48 void DidFrobinate(int32 result @0) @0; |
49 }; | 49 }; |
50 | 50 |
51 } | 51 } |
OLD | NEW |