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_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLLER_
H_ | |
6 #define IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLLER_
H_ | |
7 | |
8 #import <Foundation/Foundation.h> | |
9 | |
10 namespace web { | |
11 class WebState; | |
12 } // namespace web | |
13 | |
14 // NativeAppNavigationController brings up a GAL Infobar if the webpage directs | |
15 // it to do so and there are no other circumstances that would suppress its | |
16 // display. | |
17 @interface NativeAppNavigationController : NSObject | |
18 | |
19 - (instancetype)initWithWebState:(web::WebState*)webState | |
20 NS_DESIGNATED_INITIALIZER; | |
21 | |
22 - (instancetype)init NS_UNAVAILABLE; | |
23 | |
24 // Copies the list of applications possibly being installed and register to be | |
25 // notified of their installation. | |
26 - (void)copyStateFrom:(NativeAppNavigationController*)controller; | |
27 @end | |
28 | |
29 #endif // IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLL
ER_H_ | |
OLD | NEW |