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

Side by Side Diff: remoting/ios/bridge/client_proxy_delegate.h

Issue 475333004: Remove old Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_IOS_BRIDGE_HOST_PROXY_DELEGATE_H_
6 #define REMOTING_IOS_BRIDGE_HOST_PROXY_DELEGATE_H_
7
8 #import <Foundation/Foundation.h>
9 #import <UIKit/UIKit.h>
10
11 #include <vector>
12
13 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
14
15 // Contract to provide for callbacks from the common Chromoting protocol to the
16 // UI Application.
17 @protocol ClientProxyDelegate<NSObject>
18
19 // HOST request for client to input their PIN.
20 - (void)requestHostPin:(BOOL)pairingSupported;
21
22 // HOST notification that a connection has been successfully opened.
23 - (void)connected;
24
25 // HOST notification for a change in connections status.
26 - (void)connectionStatus:(NSString*)statusMessage;
27
28 // HOST notification that a connection has failed.
29 - (void)connectionFailed:(NSString*)errorMessage;
30
31 // A new Canvas (desktop) update has arrived.
32 - (void)applyFrame:(const webrtc::DesktopSize&)size
33 stride:(NSInteger)stride
34 data:(uint8_t*)data
35 regions:(const std::vector<webrtc::DesktopRect>&)regions;
36
37 // A new Cursor (mouse) update has arrived.
38 - (void)applyCursor:(const webrtc::DesktopSize&)size
39 hotspot:(const webrtc::DesktopVector&)hotspot
40 cursorData:(uint8_t*)data;
41 @end
42
43 #endif // REMOTING_IOS_BRIDGE_HOST_PROXY_DELEGATE_H_
OLDNEW
« no previous file with comments | « remoting/ios/bridge/client_proxy.mm ('k') | remoting/ios/bridge/client_proxy_delegate_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698