OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 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_PAGE_NOT_AVAILABLE_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_ |
| 7 |
| 8 #import "ios/chrome/browser/ui/native_content_controller.h" |
| 9 |
| 10 // A native controller for the case where the URL is not valid and/or the page |
| 11 // is not available. |
| 12 @interface PageNotAvailableController : NativeContentController |
| 13 |
| 14 // Property to allow setting a custom description for the content. |
| 15 @property(nonatomic, assign) NSString* descriptionText; |
| 16 |
| 17 // Designated initializer. |
| 18 - (instancetype)initWithUrl:(const GURL&)url NS_DESIGNATED_INITIALIZER; |
| 19 |
| 20 - (instancetype)initWithNibName:(NSString*)nibName |
| 21 url:(const GURL&)url NS_UNAVAILABLE; |
| 22 |
| 23 @end |
| 24 |
| 25 #endif // IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_ |
OLD | NEW |