Index: remoting/ios/app/session_reconnect_view.h |
diff --git a/remoting/ios/app/session_reconnect_view.h b/remoting/ios/app/session_reconnect_view.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2909cd538929f46fb067618beebc55d46fd28ce3 |
--- /dev/null |
+++ b/remoting/ios/app/session_reconnect_view.h |
@@ -0,0 +1,27 @@ |
+// 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_IOS_SESSON_RECONNECT_VIEW_H_ |
+#define REMOTING_IOS_SESSON_RECONNECT_VIEW_H_ |
+ |
+#import <UIKit/UIKit.h> |
+ |
+@protocol SessionReconnectViewDelegate<NSObject> |
+ |
+// Notifies the delegate that the user tapped the reconnect button. |
+@optional |
+- (void)didTapReconnect; |
+ |
+@end |
+ |
+// This view is the container for a session connection error. It will display a |
+// reconnect button. |
+@interface SessionReconnectView : UIView |
+ |
+// This delegate will handle interactions on the view. |
+@property(weak, nonatomic) id<SessionReconnectViewDelegate> delegate; |
+ |
+@end |
+ |
+#endif // REMOTING_IOS_SESSON_RECONNECT_VIEW_H_ |