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

Unified Diff: remoting/ios/ui/pin_entry_view_controller.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/ios/ui/host_view_controller.mm ('k') | remoting/ios/ui/pin_entry_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/ui/pin_entry_view_controller.h
diff --git a/remoting/ios/ui/pin_entry_view_controller.h b/remoting/ios/ui/pin_entry_view_controller.h
deleted file mode 100644
index aaf854a1455d0845cedd223eaf59da494aaa115e..0000000000000000000000000000000000000000
--- a/remoting/ios/ui/pin_entry_view_controller.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_IOS_UI_PIN_ENTRY_VIEW_CONTROLLER_H_
-#define REMOTING_IOS_UI_PIN_ENTRY_VIEW_CONTROLLER_H_
-
-#import <UIKit/UIKit.h>
-
-// Contract to handle finalization for Pin Prompt
-@protocol PinEntryViewControllerDelegate<NSObject>
-
-// Returns with user's Pin. Pin has not been validated with the server yet.
-// |shouldPrompt| indicates whether a prompt should be needed for the next login
-// attempt with this host.
-- (void)connectToHostWithPin:(UIViewController*)controller
- hostPin:(NSString*)hostPin
- shouldPrompt:(BOOL)shouldPrompt;
-
-// Returns when the user has cancelled the input, effectively closing the
-// connection attempt.
-- (void)cancelledConnectToHostWithPin:(UIViewController*)controller;
-
-@end
-
-// Dialog for user's Pin input. If a host has |pairingSupported| then user has
-// the option to save a token for authentication.
-@interface PinEntryViewController : UIViewController<UITextFieldDelegate> {
- @private
- IBOutlet UIView* _controlView;
- IBOutlet UIButton* _cancelButton;
- IBOutlet UIButton* _connectButton;
- IBOutlet UILabel* _host;
- IBOutlet UISwitch* _switchAskAgain;
- IBOutlet UILabel* _shouldSavePin;
- IBOutlet UITextField* _hostPin;
-}
-
-@property(weak, nonatomic) id<PinEntryViewControllerDelegate> delegate;
-@property(nonatomic, copy) NSString* hostName;
-@property(nonatomic) BOOL shouldPrompt;
-@property(nonatomic) BOOL pairingSupported;
-
-- (IBAction)buttonCancelClicked:(id)sender;
-- (IBAction)buttonConnectClicked:(id)sender;
-
-@end
-
-#endif // REMOTING_IOS_UI_PIN_ENTRY_VIEW_CONTROLLER_H_
« no previous file with comments | « remoting/ios/ui/host_view_controller.mm ('k') | remoting/ios/ui/pin_entry_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698