OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 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_FIRST_RUN_STATIC_FILE_VIEW_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_FIRST_RUN_STATIC_FILE_VIEW_CONTROLLER_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 namespace ios { |
| 11 class ChromeBrowserState; |
| 12 } |
| 13 |
| 14 // View controller used to display a bundled file in a web view with a shadow |
| 15 // below the navigation bar when the user scrolls. |
| 16 @interface StaticFileViewController : UIViewController |
| 17 |
| 18 // Initializes with the given URL to display and browser state. Neither |
| 19 // |browserState| nor |URL| may be nil. |
| 20 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState |
| 21 URL:(NSURL*)URL; |
| 22 |
| 23 @end |
| 24 |
| 25 #endif // IOS_CHROME_BROWSER_UI_FIRST_RUN_STATIC_FILE_VIEW_CONTROLLER_H_ |
OLD | NEW |