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

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

Issue 2804703002: [ObjC ARC] Converts ios/chrome/browser/ui:ui_internal_arc to ARC. (Closed)
Patch Set: comments Created 3 years, 8 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_
7 7
8 #import "ios/chrome/browser/ui/native_content_controller.h" 8 #import "ios/chrome/browser/ui/native_content_controller.h"
9 9
10 // A native controller for the case where the URL is not valid and/or the page 10 // A native controller for the case where the URL is not valid and/or the page
11 // is not available. 11 // is not available.
12 @interface PageNotAvailableController : NativeContentController 12 @interface PageNotAvailableController : NativeContentController
13 13
14 // Property to allow setting a custom description for the content. 14 // Property to allow setting a custom description for the content.
15 @property(nonatomic, assign) NSString* descriptionText; 15 @property(nonatomic, copy) NSString* descriptionText;
16 16
17 // Designated initializer. 17 // Designated initializer.
18 - (instancetype)initWithUrl:(const GURL&)url NS_DESIGNATED_INITIALIZER; 18 - (instancetype)initWithUrl:(const GURL&)url NS_DESIGNATED_INITIALIZER;
19 19
20 - (instancetype)initWithNibName:(NSString*)nibName 20 - (instancetype)initWithNibName:(NSString*)nibName
21 url:(const GURL&)url NS_UNAVAILABLE; 21 url:(const GURL&)url NS_UNAVAILABLE;
22 22
23 @end 23 @end
24 24
25 #endif // IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_ 25 #endif // IOS_CHROME_BROWSER_UI_PAGE_NOT_AVAILABLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/open_in_toolbar.mm ('k') | ios/chrome/browser/ui/page_not_available_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698