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

Unified Diff: remoting/client/ios/app/client_connection_view_controller.h

Issue 2871993003: Moving the iOS directory to be remoting top level. (Closed)
Patch Set: //remoting/ios was the old landing target for the internal iOS application. Fix. Created 3 years, 7 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
Index: remoting/client/ios/app/client_connection_view_controller.h
diff --git a/remoting/client/ios/app/client_connection_view_controller.h b/remoting/client/ios/app/client_connection_view_controller.h
deleted file mode 100644
index 7ae3939187be590f71a4e15914346492873bdaa3..0000000000000000000000000000000000000000
--- a/remoting/client/ios/app/client_connection_view_controller.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2017 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_CLIENT_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_
-#define REMOTING_CLIENT_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_
-
-#import <UIKit/UIKit.h>
-
-// This enumerated the differnt modes this Client Connection View can be in.
-typedef NS_ENUM(NSInteger, ClientConnectionViewState) {
- ClientViewConnecting,
- ClientViewPinPrompt,
- ClientViewConnected,
- ClientViewClosed,
-};
-
-// The host connection view controller delegate provides feedback for state
-// changes on Host Connection that the calling view should respond to.
-@protocol ClientConnectionViewControllerDelegate<NSObject>
-
-// Notifies the delegate the client is connected to the host.
-- (void)clientConnected;
-
-// Gets the current host name the client is attempting to connect to.
-- (NSString*)getConnectingHostName;
-
-@end
-
-// This is the view that shows the user feedback while the client connection is
-// being established. If requested the view can also display the pin entry view.
-// State communication for this view is handled by NSNotifications, it listens
-// to kHostSessionStatusChanged events on the default NSNotificationCenter.
-// Internally the notification is tied to [self setState] so view setup will
-// work the same way if state is set directly.
-@interface ClientConnectionViewController : UIViewController
-
-// Setting state will change the view
-@property(nonatomic, assign) ClientConnectionViewState state;
-
-// This delegate is used to ask for Host Name and to notify when the connection
-// has been established.
-@property(weak, nonatomic) id<ClientConnectionViewControllerDelegate> delegate;
-
-@end
-
-#endif // REMOTING_CLIENT_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_
« no previous file with comments | « remoting/client/ios/app/app_delegate.mm ('k') | remoting/client/ios/app/client_connection_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698