Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_IOS_SESSON_ERROR_VIEW_H_ | |
| 6 #define REMOTING_IOS_SESSON_ERROR_VIEW_H_ | |
| 7 | |
| 8 #import <UIKit/UIKit.h> | |
| 9 | |
| 10 @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
| |
| 11 | |
| 12 // Notifies the delegate that the user tapped the reconnect button. | |
| 13 @optional | |
| 14 - (void)didTapReconnect; | |
| 15 | |
| 16 @end | |
| 17 | |
| 18 // This view is the container for a session connection error. It will display a | |
| 19 // reconnect button. | |
| 20 @interface SessionErrorView : UIView | |
| 21 | |
| 22 // This delegate will handle interactions on the view. | |
| 23 @property(weak, nonatomic) id<SessionErrorViewDelegate> delegate; | |
| 24 | |
| 25 @end | |
| 26 | |
| 27 #endif // REMOTING_IOS_SESSON_ERROR_VIEW_H_ | |
| OLD | NEW |