OLD | NEW |
1 // Copyright 2017 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 // This file has been auto-generated by generate_conditional_features.py. |
| 6 // DO NOT MODIFY! |
| 7 |
| 8 // This file has been generated from the Jinja2 template in |
| 9 // third_party/WebKit/Source/bindings/templates/ConditionalFeaturesForCore.h.tmp
l |
| 10 |
| 11 // clang-format off |
| 12 |
5 #ifndef ConditionalFeaturesForCore_h | 13 #ifndef ConditionalFeaturesForCore_h |
6 #define ConditionalFeaturesForCore_h | 14 #define ConditionalFeaturesForCore_h |
7 | 15 |
8 #include "core/CoreExport.h" | 16 #include "core/CoreExport.h" |
9 #include "v8/include/v8.h" | 17 #include "v8/include/v8.h" |
10 | 18 |
11 namespace blink { | 19 namespace blink { |
12 | 20 |
13 class ScriptState; | 21 class ScriptState; |
14 | 22 |
15 // Installs all of the conditionally enabled V8 bindings on the Window object. | 23 // Installs all of the conditionally enabled V8 bindings on the Window object. |
16 // This is called separately from other objects so that attributes and | 24 // This is called separately from other objects so that attributes and |
17 // interfaces which need to be visible on the global object are installed even | 25 // interfaces which need to be visible on the global object are installed even |
18 // when the V8 context is reused (i.e., after navigation) | 26 // when the V8 context is reused (i.e., after navigation) |
19 CORE_EXPORT void InstallConditionalFeaturesOnWindow(const ScriptState*); | 27 CORE_EXPORT void InstallConditionalFeaturesOnWindow(const ScriptState*); |
20 | 28 |
21 CORE_EXPORT void RegisterInstallConditionalFeaturesForCore(); | 29 CORE_EXPORT void RegisterInstallConditionalFeaturesForCore(); |
22 | 30 |
23 } // namespace blink | 31 } // namespace blink |
24 | 32 |
25 #endif // ConditionalFeaturesForCore_h | 33 #endif // ConditionalFeaturesForCore_h |
OLD | NEW |