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

Side by Side Diff: remoting/ios/app/session_error_view.h

Issue 2971903002: Adding error handling to the connection flow. (Closed)
Patch Set: Minor cleanup before review. Created 3 years, 5 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698