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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h

Issue 2491353002: Add CORE_EXPORT to blink::isFeatureEnabledInFrame for Feature Policy (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ConditionalFeatures_h 5 #ifndef ConditionalFeatures_h
6 #define ConditionalFeatures_h 6 #define ConditionalFeatures_h
7 7
8 #include "bindings/core/v8/DOMWrapperWorld.h" 8 #include "bindings/core/v8/DOMWrapperWorld.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "platform/feature_policy/FeaturePolicy.h" 10 #include "platform/feature_policy/FeaturePolicy.h"
(...skipping 24 matching lines...) Expand all
35 // function is returned, so that functions can be chained. 35 // function is returned, so that functions can be chained.
36 CORE_EXPORT InstallConditionalFeaturesFunction 36 CORE_EXPORT InstallConditionalFeaturesFunction
37 setInstallConditionalFeaturesFunction(InstallConditionalFeaturesFunction); 37 setInstallConditionalFeaturesFunction(InstallConditionalFeaturesFunction);
38 38
39 // Installs all of the conditionally enabled V8 bindings on the Window object. 39 // Installs all of the conditionally enabled V8 bindings on the Window object.
40 // This is called separately from other objects so that attributes and 40 // This is called separately from other objects so that attributes and
41 // interfaces which need to be visible on the global object are installed even 41 // interfaces which need to be visible on the global object are installed even
42 // when the V8 context is reused (i.e., after navigation) 42 // when the V8 context is reused (i.e., after navigation)
43 CORE_EXPORT void installPendingConditionalFeaturesOnWindow(const ScriptState*); 43 CORE_EXPORT void installPendingConditionalFeaturesOnWindow(const ScriptState*);
44 44
45 bool isFeatureEnabledInFrame(const FeaturePolicy::Feature&, const LocalFrame*); 45 CORE_EXPORT bool isFeatureEnabledInFrame(const FeaturePolicy::Feature&,
46 const LocalFrame*);
46 47
47 } // namespace blink 48 } // namespace blink
48 49
49 #endif // ConditionalFeatures_h 50 #endif // ConditionalFeatures_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698