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

Side by Side Diff: remoting/client/ios/app/pin_entry_view_controller.h

Issue 2795163003: CRD iOS: Adding pin entry view controller. (Closed)
Patch Set: Created 3 years, 8 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 2017 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_CLIENT_IOS_APP_PIN_ENTRY_VIEW_CONTROLLER_H_
6 #define REMOTING_CLIENT_IOS_APP_PIN_ENTRY_VIEW_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9
10 typedef void (^PinEntryModalCallback)(NSString* hostPin, BOOL createPairing);
11
12 // PinEntryViewController is expected to be created, displayed and then
Lambros 2017/04/05 00:17:40 If the user cancels the dialog without entering a
nicholss 2017/04/05 16:25:41 Hm. I have not implemented the callback reaction y
13 // destroyed after the pin entry is finished; not resued.
Lambros 2017/04/05 00:17:40 s/resued/reused
nicholss 2017/04/05 16:25:41 Done.
14 @interface PinEntryViewController : UIViewController
15
16 // Callback will be used to return the pin entry result.
17 - (id)initWithCallback:(PinEntryModalCallback)callback;
18
19 @end
20
21 #endif // REMOTING_CLIENT_IOS_APP_PIN_ENTRY_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698