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

Side by Side Diff: ios/chrome/browser/ui/page_not_available_controller.h

Issue 2589803002: Upstream Chrome on iOS source code [6/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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698