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 #import "ios/chrome/browser/native_app_launcher/native_app_navigation_controller
_protocol.h" |
| 11 #import "ios/web/public/web_state/crw_web_controller_observer.h" |
| 12 |
| 13 @class Tab; |
| 14 |
| 15 namespace net { |
| 16 class URLRequestContextGetter; |
| 17 } // namespace net |
| 18 |
| 19 // NativeAppNavigationController brings up a GAL Infobar if the webpage directs |
| 20 // it to do so and there are no other circumstances that would suppress its |
| 21 // display. |
| 22 @interface NativeAppNavigationController |
| 23 : NSObject<CRWWebControllerObserver, NativeAppNavigationControllerProtocol> |
| 24 |
| 25 // Designated initializer. |
| 26 - (id)initWithRequestContextGetter:(net::URLRequestContextGetter*)context |
| 27 tab:(Tab*)tab; |
| 28 |
| 29 // Copies the list of applications possibly being installed and register to be |
| 30 // notified of their installation. |
| 31 - (void)copyStateFrom:(NativeAppNavigationController*)controller; |
| 32 @end |
| 33 |
| 34 #endif // IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLL
ER_H_ |
OLD | NEW |