OLD | NEW |
---|---|
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 {% include 'copyright_block.txt' %} |
Yuki
2017/07/14 03:30:08
Could you follow the "format_blink_cpp_source_code
iclelland
2017/07/14 18:25:05
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | 2 |
5 #ifndef ConditionalFeaturesForCore_h | 3 #ifndef ConditionalFeaturesForCore_h |
6 #define ConditionalFeaturesForCore_h | 4 #define ConditionalFeaturesForCore_h |
7 | 5 |
8 #include "core/CoreExport.h" | 6 #include "core/CoreExport.h" |
9 #include "v8/include/v8.h" | 7 #include "v8/include/v8.h" |
10 | 8 |
11 namespace blink { | 9 namespace blink { |
12 | 10 |
13 class ScriptState; | 11 class ScriptState; |
14 | 12 |
15 // Installs all of the conditionally enabled V8 bindings on the Window object. | 13 // Installs all of the conditionally enabled V8 bindings on the Window object. |
16 // This is called separately from other objects so that attributes and | 14 // 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 | 15 // interfaces which need to be visible on the global object are installed even |
18 // when the V8 context is reused (i.e., after navigation) | 16 // when the V8 context is reused (i.e., after navigation) |
19 CORE_EXPORT void InstallConditionalFeaturesOnWindow(const ScriptState*); | 17 CORE_EXPORT void InstallConditionalFeaturesOnWindow(const ScriptState*); |
20 | 18 |
21 CORE_EXPORT void RegisterInstallConditionalFeaturesForCore(); | 19 CORE_EXPORT void RegisterInstallConditionalFeaturesForCore(); |
22 | 20 |
23 } // namespace blink | 21 } // namespace blink |
24 | 22 |
25 #endif // ConditionalFeaturesForCore_h | 23 #endif // ConditionalFeaturesForCore_h |
OLD | NEW |