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

Side by Side Diff: third_party/WebKit/Source/bindings/templates/ConditionalFeaturesForCore.h.tmpl

Issue 2970003002: Add code generation for ConditionalFeatures bindings code (Closed)
Patch Set: Style fixes Created 3 years, 5 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 2017 The Chromium Authors. All rights reserved. 1 {% filter format_blink_cpp_source_code %}
2 // Use of this source code is governed by a BSD-style license that can be 2
3 // found in the LICENSE file. 3 {% include 'copyright_block.txt' %}
4 4
5 #ifndef ConditionalFeaturesForCore_h 5 #ifndef ConditionalFeaturesForCore_h
6 #define ConditionalFeaturesForCore_h 6 #define ConditionalFeaturesForCore_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "v8/include/v8.h" 9 #include "v8/include/v8.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class ScriptState; 13 class ScriptState;
14 14
15 // Installs all of the conditionally enabled V8 bindings on the Window object. 15 // Installs all of the conditionally enabled V8 bindings on the Window object.
16 // This is called separately from other objects so that attributes and 16 // 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 17 // interfaces which need to be visible on the global object are installed even
18 // when the V8 context is reused (i.e., after navigation) 18 // when the V8 context is reused (i.e., after navigation)
19 CORE_EXPORT void InstallConditionalFeaturesOnWindow(const ScriptState*); 19 CORE_EXPORT void InstallConditionalFeaturesOnWindow(const ScriptState*);
haraken 2017/07/17 07:28:17 (Not related to this CL but) InstallConditionalFea
iclelland 2017/07/17 14:24:21 That is correct, OriginTrials are only supported i
20 20
21 CORE_EXPORT void RegisterInstallConditionalFeaturesForCore(); 21 CORE_EXPORT void RegisterInstallConditionalFeaturesForCore();
22 22
23 } // namespace blink 23 } // namespace blink
24 24
25 #endif // ConditionalFeaturesForCore_h 25 #endif // ConditionalFeaturesForCore_h
26
27 {% endfilter %}{# format_blink_cpp_source_code #}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698