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

Side by Side Diff: remoting/host/win/chromoting_lib_idl.templ

Issue 12390060: RdpDesktopSession COM class should only use raw interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/installer/win/chromoting.wxs ('k') | remoting/host/win/core.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import "oaidl.idl"; 5 import "oaidl.idl";
6 import "ocidl.idl"; 6 import "ocidl.idl";
7 7
8 [ 8 [
9 object, 9 object,
10 uuid(e051a481-6345-4ba1-bdb1-cf7929955268), 10 uuid(e051a481-6345-4ba1-bdb1-cf7929955268),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 [out] BOOL* set_by_policy); 60 [out] BOOL* set_by_policy);
61 61
62 [ id(9), helpstring("Records the user's consent to collect crash dumps " 62 [ id(9), helpstring("Records the user's consent to collect crash dumps "
63 "and gather usage statistics.") ] 63 "and gather usage statistics.") ]
64 HRESULT SetUsageStatsConsent([in] BOOL allowed); 64 HRESULT SetUsageStatsConsent([in] BOOL allowed);
65 }; 65 };
66 66
67 [ 67 [
68 object, 68 object,
69 uuid(987bca97-9d40-42fc-a00d-e6a701261af5), 69 uuid(987bca97-9d40-42fc-a00d-e6a701261af5),
70 dual,
71 nonextensible, 70 nonextensible,
72 helpstring("IRdpDesktopSessionEventHandler Interface"), 71 helpstring("IRdpDesktopSessionEventHandler Interface"),
73 pointer_default(unique) 72 pointer_default(unique)
74 ] 73 ]
75 interface IRdpDesktopSessionEventHandler : IDispatch { 74 interface IRdpDesktopSessionEventHandler : IUnknown {
76 [ id(1), helpstring("Notifies that an RDP connection has been established " 75 [ id(1), helpstring("Notifies that an RDP connection has been established "
77 "successfully. The client's address and port are " 76 "successfully. The client's address and port are "
78 " returned in |client_endpoint| as |SOCKADDR_STORAGE| " 77 " returned in |client_endpoint| as |SOCKADDR_STORAGE| "
79 "structure. When this method is called multiple times, " 78 "structure. When this method is called multiple times, "
80 "the most recent |client_endpoint| supersedes all " 79 "the most recent |client_endpoint| supersedes all "
81 "previous ones.") ] 80 "previous ones.") ]
82 HRESULT OnRdpConnected([in, size_is(length)] byte* client_endpoint, 81 HRESULT OnRdpConnected([in, size_is(length)] byte* client_endpoint,
83 [in] long length); 82 [in] long length);
84 83
85 [ id(2), helpstring("Notifies the delegate that the RDP connection has been " 84 [ id(2), helpstring("Notifies the delegate that the RDP connection has been "
86 "closed.") ] 85 "closed.") ]
87 HRESULT OnRdpClosed(); 86 HRESULT OnRdpClosed();
88 }; 87 };
89 88
90 [ 89 [
91 object, 90 object,
92 uuid(126c22bc-34ef-4cfb-83ef-9b8ada3391e8), 91 uuid(126c22bc-34ef-4cfb-83ef-9b8ada3391e8),
93 dual,
94 nonextensible, 92 nonextensible,
95 helpstring("IRdpDesktopSession Interface"), 93 helpstring("IRdpDesktopSession Interface"),
96 pointer_default(unique) 94 pointer_default(unique)
97 ] 95 ]
98 interface IRdpDesktopSession : IDispatch { 96 interface IRdpDesktopSession : IUnknown {
99 [ id(1), helpstring("Initiates a loopback RDP connection to spawn a new " 97 [ id(1), helpstring("Initiates a loopback RDP connection to spawn a new "
100 "Windows session. |width| and |height| specify the " 98 "Windows session. |width| and |height| specify the "
101 "initial screen resolution.") ] 99 "initial screen resolution.") ]
102 HRESULT Connect([in] long width, [in] long height, 100 HRESULT Connect([in] long width, [in] long height,
103 [in] IRdpDesktopSessionEventHandler* event_handler); 101 [in] IRdpDesktopSessionEventHandler* event_handler);
104 102
105 [ id(2), helpstring("Shuts down the connection created by Connect().") ] 103 [ id(2), helpstring("Shuts down the connection created by Connect().") ]
106 HRESULT Disconnect(); 104 HRESULT Disconnect();
107 105
108 [ id(3), helpstring("Changes the screen resolution.") ] 106 [ id(3), helpstring("Changes the screen resolution.") ]
(...skipping 17 matching lines...) Expand all
126 }; 124 };
127 125
128 [ 126 [
129 uuid(@RDP_DESKTOP_SESSION_CLSID@), 127 uuid(@RDP_DESKTOP_SESSION_CLSID@),
130 helpstring("RdpDesktopSession Class") 128 helpstring("RdpDesktopSession Class")
131 ] 129 ]
132 coclass RdpDesktopSession { 130 coclass RdpDesktopSession {
133 [default] interface IRdpDesktopSession; 131 [default] interface IRdpDesktopSession;
134 }; 132 };
135 }; 133 };
OLDNEW
« no previous file with comments | « remoting/host/installer/win/chromoting.wxs ('k') | remoting/host/win/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698