Chromium Code Reviews| Index: remoting/ios/app/session_error_view.h |
| diff --git a/remoting/ios/app/session_error_view.h b/remoting/ios/app/session_error_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..caa50bebf674bb758d9a7cd76063fe306d8d5b4d |
| --- /dev/null |
| +++ b/remoting/ios/app/session_error_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_ERROR_VIEW_H_ |
| +#define REMOTING_IOS_SESSON_ERROR_VIEW_H_ |
| + |
| +#import <UIKit/UIKit.h> |
| + |
| +@protocol SessionErrorViewDelegate<NSObject> |
|
Yuwei
2017/07/05 21:43:42
The name seems a bit confusing if what it does is
nicholss
2017/07/06 20:49:02
I think I will rename it to SessonReconnectView an
|
| + |
| +// 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 SessionErrorView : UIView |
| + |
| +// This delegate will handle interactions on the view. |
| +@property(weak, nonatomic) id<SessionErrorViewDelegate> delegate; |
| + |
| +@end |
| + |
| +#endif // REMOTING_IOS_SESSON_ERROR_VIEW_H_ |