OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // @file | 5 // @file |
6 // Interface and object declarations for CEEE IE user broker. | 6 // Interface and object declarations for CEEE IE user broker. |
7 import "exdisp.idl"; | 7 import "exdisp.idl"; |
8 import "oaidl.idl"; | 8 import "oaidl.idl"; |
9 import "ocidl.idl"; | 9 import "ocidl.idl"; |
10 | 10 |
11 typedef long CeeeWindowHandle; | 11 typedef long CeeeWindowHandle; |
12 | 12 |
13 [ | 13 [ |
14 object, | 14 object, |
15 uuid(A767CE3D-D65B-458f-B66A-CDB10B1F2DF6), | 15 uuid(A767CE3D-D65B-458f-B66A-CDB10B1F2DF6), |
16 nonextensible, | 16 nonextensible, |
17 helpstring("ICeeeBroker Interface"), | 17 helpstring("ICeeeBroker Interface"), |
18 pointer_default(unique), | 18 pointer_default(unique), |
19 oleautomation | 19 oleautomation |
20 ] | 20 ] |
21 // Can execute code in specific threads of other process, even at higher | 21 // Can execute code in specific threads of other process, even at higher |
22 // integrity level than the calling process. | 22 // integrity level than the calling process. |
23 | 23 |
24 // Allows the execution of code in destination threads. | 24 // Allows the execution of code in destination threads. |
| 25 // This interface is DEPRECATED. |
25 interface ICeeeBroker : IUnknown { | 26 interface ICeeeBroker : IUnknown { |
26 // This method is DEPRECATED. | |
27 // Execute the requested message in the appropriate process/thread. | 27 // Execute the requested message in the appropriate process/thread. |
28 // | 28 // |
29 // @param function The JSON encoded function message to process. | 29 // @param function The JSON encoded function message to process. |
30 // @param response Where to return the JSON encoded response. | 30 // @param response Where to return the JSON encoded response. |
31 HRESULT Execute([in] BSTR function, [out] BSTR* response); | 31 HRESULT Execute([in] BSTR function, [out] BSTR* response); |
32 | 32 |
33 // Fire the given event message to Chrome Frame and potentially use it | 33 // Fire the given event message to Chrome Frame and potentially use it |
34 // to complete asynchronous extension API execution. | 34 // to complete asynchronous extension API execution. |
35 // | 35 // |
36 // @param event_name The name of the event to fire. | 36 // @param event_name The name of the event to fire. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 interface ICeeePostman; | 94 interface ICeeePostman; |
95 | 95 |
96 [ | 96 [ |
97 uuid(6D88A70D-2218-4466-BBD6-87AB563811A2), | 97 uuid(6D88A70D-2218-4466-BBD6-87AB563811A2), |
98 helpstring("CEEE Broker Class") | 98 helpstring("CEEE Broker Class") |
99 ] | 99 ] |
100 coclass CeeeBroker { | 100 coclass CeeeBroker { |
101 [default] interface ICeeeBroker; | 101 [default] interface ICeeeBroker; |
102 }; | 102 }; |
103 }; | 103 }; |
OLD | NEW |