| 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_PUBLIC_WEB_STATE_JS_CRW_JS_EARLY_SCRIPT_MANAGER_H_ | 5 #ifndef IOS_WEB_WEB_STATE_JS_CRW_JS_EARLY_SCRIPT_MANAGER_H_ |
| 6 #define IOS_WEB_PUBLIC_WEB_STATE_JS_CRW_JS_EARLY_SCRIPT_MANAGER_H_ | 6 #define IOS_WEB_WEB_STATE_JS_CRW_JS_EARLY_SCRIPT_MANAGER_H_ |
| 7 | 7 |
| 8 #import "ios/web/public/web_state/js/crw_js_injection_manager.h" | 8 #import "ios/web/public/web_state/js/crw_js_injection_manager.h" |
| 9 | 9 |
| 10 // TODO(eugenebut): remove this class from web's public interface. | |
| 11 | |
| 12 // Manager to handle all the scripts that need to be injected before the page | 10 // Manager to handle all the scripts that need to be injected before the page |
| 13 // scripts take effect. Includes the base scripts and any feature scripts | 11 // scripts take effect. Includes the base scripts and any feature scripts |
| 14 // that might need to perform global actions such as overriding HTML methods. | 12 // that might need to perform global actions such as overriding HTML methods. |
| 15 @interface CRWJSEarlyScriptManager : CRWJSInjectionManager | 13 @interface CRWJSEarlyScriptManager : CRWJSInjectionManager |
| 16 @end | 14 @end |
| 17 | 15 |
| 18 #endif // IOS_WEB_PUBLIC_WEB_STATE_JS_CRW_JS_EARLY_SCRIPT_MANAGER_H_ | 16 #endif // IOS_WEB_WEB_STATE_JS_CRW_JS_EARLY_SCRIPT_MANAGER_H_ |
| OLD | NEW |