OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEB_WEB_STATE_UI_CRW_UI_WEB_VIEW_WEB_CONTROLLER_H_ | 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_UI_WEB_VIEW_WEB_CONTROLLER_H_ |
6 #define IOS_WEB_WEB_STATE_UI_CRW_UI_WEB_VIEW_WEB_CONTROLLER_H_ | 6 #define IOS_WEB_WEB_STATE_UI_CRW_UI_WEB_VIEW_WEB_CONTROLLER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
8 #import <UIKit/UIKit.h> | 9 #import <UIKit/UIKit.h> |
9 | 10 |
10 #import "ios/web/web_state/crw_recurring_task_delegate.h" | 11 #import "ios/web/web_state/crw_recurring_task_delegate.h" |
11 #import "ios/web/web_state/ui/crw_web_controller.h" | 12 #import "ios/web/web_state/ui/crw_web_controller.h" |
12 | 13 |
13 namespace web { | 14 namespace web { |
14 | 15 |
15 // Continuous JavaScript check timer frequency constants (exposed for tests). | 16 // Continuous JavaScript check timer frequency constants (exposed for tests). |
16 extern const int64 kContinuousCheckIntervalMSHigh; | 17 extern const int64_t kContinuousCheckIntervalMSHigh; |
17 extern const int64 kContinuousCheckIntervalMSLow; | 18 extern const int64_t kContinuousCheckIntervalMSLow; |
18 | 19 |
19 } // namespace web | 20 } // namespace web |
20 | 21 |
21 @class CRWJSInvokeParameterQueue; | 22 @class CRWJSInvokeParameterQueue; |
22 | 23 |
23 // A concrete implementation of CRWWebController based on UIWebView. | 24 // A concrete implementation of CRWWebController based on UIWebView. |
24 @interface CRWUIWebViewWebController : | 25 @interface CRWUIWebViewWebController : |
25 CRWWebController<CRWRecurringTaskDelegate> | 26 CRWWebController<CRWRecurringTaskDelegate> |
26 | 27 |
27 // Designated initializer. | 28 // Designated initializer. |
(...skipping 11 matching lines...) Expand all Loading... |
39 @property(nonatomic, readonly) | 40 @property(nonatomic, readonly) |
40 id<CRWRecurringTaskDelegate> recurringTaskDelegate; | 41 id<CRWRecurringTaskDelegate> recurringTaskDelegate; |
41 // Acts on the queue of messages received from the JS object encoded as | 42 // Acts on the queue of messages received from the JS object encoded as |
42 // JSON in plain text. | 43 // JSON in plain text. |
43 - (BOOL)respondToMessageQueue:(NSString*)messageQueue | 44 - (BOOL)respondToMessageQueue:(NSString*)messageQueue |
44 userIsInteracting:(BOOL)userIsInteracting | 45 userIsInteracting:(BOOL)userIsInteracting |
45 originURL:(const GURL&)originURL; | 46 originURL:(const GURL&)originURL; |
46 @end | 47 @end |
47 | 48 |
48 #endif // IOS_WEB_WEB_STATE_UI_CRW_UI_WEB_VIEW_WEB_CONTROLLER_H_ | 49 #endif // IOS_WEB_WEB_STATE_UI_CRW_UI_WEB_VIEW_WEB_CONTROLLER_H_ |
OLD | NEW |