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

Side by Side Diff: remoting/ios/ui/host_list_view_controller.h

Issue 186733007: iOS Chromoting Client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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_UI_HOST_LIST_VIEW_CONTROLLER_H_
6 #define REMOTING_IOS_UI_HOST_LIST_VIEW_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9 #import <GLKit/GLKit.h>
10
11 // TODO (aboone) These includes are for Google+ API on iOS,
12 // https://developers.google.com/+/mobile/ios/.
13 // Google+ API will proably need to be added to third party, or if compatibile
14 // functionallity exists somewhere else in the chromium project, it should be
15 // sourced.
16 #import "GTMOAuth2ViewControllerTouch.h"
17 #import "GTLPlus.h"
18
19 #import "host_refresh.h"
20
21 // HostListViewController prsents the user with a list of hosts which has
22 // been shared from other platforms to connect to
23 @interface HostListViewController : UIViewController<HostRefreshDelegate,
24 UITableViewDelegate,
25 UITableViewDataSource> {
26 @private
27 IBOutlet UITableView* _tableHostList;
28 IBOutlet UIButton* _btnAccountObject;
29 IBOutlet UIActivityIndicatorView* _refreshActivityIndicator;
30 IBOutlet UIBarButtonItem* _versionInfo;
31
32 NSTimer* _updateDisplayTimer;
33
34 NSArray* _hostList;
35
36 // provides services for Google+ and oAuth2 handshakes for Chromoting services
37 GTLServicePlus* _plusService;
38 }
39
40 // Triggered by UI 'refresh' button
41 - (IBAction)btnRefreshHostList:(id)sender;
42 // Triggered by UI 'log in' button, if user is already logged in then the user
43 // is logged out and a new session begins by requesting the user to log in,
44 // possibly with a different account
45 - (IBAction)btnAccount:(id)sender;
46
47 @end
48
49 #endif // REMOTING_IOS_UI_HOST_LIST_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698