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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 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 <v8.h>
8 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
9 #include "platform/feature_policy/FeaturePolicy.h" 10 #include "platform/feature_policy/FeaturePolicy.h"
10 #include "wtf/text/WTFString.h" 11 #include "wtf/text/WTFString.h"
11 #include <v8.h>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class LocalFrame; 15 class LocalFrame;
16 class ScriptState; 16 class ScriptState;
17 struct WrapperTypeInfo; 17 struct WrapperTypeInfo;
18 18
19 using InstallConditionalFeaturesFunction = void (*)(const WrapperTypeInfo*, 19 using InstallConditionalFeaturesFunction = void (*)(const WrapperTypeInfo*,
20 const ScriptState*, 20 const ScriptState*,
21 v8::Local<v8::Object>, 21 v8::Local<v8::Object>,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // (avoids forcing the creation of objects prematurely). 61 // (avoids forcing the creation of objects prematurely).
62 CORE_EXPORT void installPendingConditionalFeature(const String&, 62 CORE_EXPORT void installPendingConditionalFeature(const String&,
63 const ScriptState*); 63 const ScriptState*);
64 64
65 CORE_EXPORT bool isFeatureEnabledInFrame(const FeaturePolicy::Feature&, 65 CORE_EXPORT bool isFeatureEnabledInFrame(const FeaturePolicy::Feature&,
66 const LocalFrame*); 66 const LocalFrame*);
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif // ConditionalFeatures_h 70 #endif // ConditionalFeatures_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698