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

Side by Side Diff: ios/chrome/browser/ui/sad_tab/sad_tab_view.h

Issue 2589583003: Upstream Chrome on iOS source code [7/11]. (Closed)
Patch Set: Created 4 years 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 2015 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 IOS_CHROME_BROWSER_UI_SAD_TAB_SAD_TAB_VIEW_H_
6 #define IOS_CHROME_BROWSER_UI_SAD_TAB_SAD_TAB_VIEW_H_
7
8 #import <UIKit/UIKit.h>
9
10 #include "base/ios/block_types.h"
11
12 // The view used to show "sad tab" content to the user when WKWebView's renderer
13 // process crashes.
14 @interface SadTabView : UIView
15
16 // Designated initializer. |reloadHandler| will be called when the reload
17 // button is tapped and must not be nil.
18 - (instancetype)initWithReloadHandler:(ProceduralBlock)reloadHandler
19 NS_DESIGNATED_INITIALIZER;
20
21 - (instancetype)init NS_UNAVAILABLE;
22 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
23 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
24
25 @end
26
27 #endif // IOS_CHROME_BROWSER_UI_SAD_TAB_SAD_TAB_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698