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

Side by Side Diff: ios/chrome/browser/native_app_launcher/native_app_navigation_controller.h

Issue 2731553005: Introduced StoreKitTabHelper class (Closed)
Patch Set: fixed variable naming Created 3 years, 9 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_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLLER_ H_ 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_ 6 #define IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLLER_ H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #import "ios/chrome/browser/native_app_launcher/native_app_navigation_controller _protocol.h" 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" 11 #import "ios/web/public/web_state/crw_web_controller_observer.h"
12 12
13 @class Tab;
14
15 namespace net {
16 class URLRequestContextGetter;
17 } // namespace net
18
19 namespace web { 13 namespace web {
20 class WebState; 14 class WebState;
21 } // namespace web 15 } // namespace web
22 16
23 // NativeAppNavigationController brings up a GAL Infobar if the webpage directs 17 // NativeAppNavigationController brings up a GAL Infobar if the webpage directs
24 // it to do so and there are no other circumstances that would suppress its 18 // it to do so and there are no other circumstances that would suppress its
25 // display. 19 // display.
26 @interface NativeAppNavigationController 20 @interface NativeAppNavigationController
27 : NSObject<CRWWebControllerObserver, NativeAppNavigationControllerProtocol> 21 : NSObject<CRWWebControllerObserver, NativeAppNavigationControllerProtocol>
28 22
29 // Designated initializer. The use of |tab| will be phased out in the future
30 // when all the information needed can be fulfilled by |webState|. Use this
31 // instead of -init.
32 - (instancetype)initWithWebState:(web::WebState*)webState 23 - (instancetype)initWithWebState:(web::WebState*)webState
33 requestContextGetter:(net::URLRequestContextGetter*)context 24 NS_DESIGNATED_INITIALIZER;
34 tab:(Tab*)tab NS_DESIGNATED_INITIALIZER;
35 25
36 - (instancetype)init NS_UNAVAILABLE; 26 - (instancetype)init NS_UNAVAILABLE;
37 27
38 // Copies the list of applications possibly being installed and register to be 28 // Copies the list of applications possibly being installed and register to be
39 // notified of their installation. 29 // notified of their installation.
40 - (void)copyStateFrom:(NativeAppNavigationController*)controller; 30 - (void)copyStateFrom:(NativeAppNavigationController*)controller;
41 @end 31 @end
42 32
43 #endif // IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLL ER_H_ 33 #endif // IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_CONTROLL ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698