| Index: third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h b/third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h
|
| similarity index 77%
|
| copy from third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h
|
| copy to third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h
|
| index 5a30fb999ac105893447972d981562f3aa3b13d3..0b537053c49ab534f7cb3ec781125a5b52b29475 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h
|
| +++ b/third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h
|
| @@ -1,11 +1,11 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| #ifndef ConditionalFeatures_h
|
| #define ConditionalFeatures_h
|
|
|
| -#include "core/CoreExport.h"
|
| +#include "platform/PlatformExport.h"
|
| #include "platform/wtf/text/WTFString.h"
|
| #include "v8/include/v8.h"
|
|
|
| @@ -26,14 +26,14 @@ using InstallPendingConditionalFeatureFunction = void (*)(const String&,
|
| // is initially set to the private |installConditionalFeaturesDefault| function,
|
| // but can be overridden by this function. A pointer to the previously set
|
| // function is returned, so that functions can be chained.
|
| -CORE_EXPORT InstallConditionalFeaturesFunction
|
| +PLATFORM_EXPORT InstallConditionalFeaturesFunction
|
| SetInstallConditionalFeaturesFunction(InstallConditionalFeaturesFunction);
|
|
|
| // Sets the function to be called by |installPendingConditionalFeature|. This
|
| // is initially set to the private |installPendingConditionalFeatureDefault|
|
| // function, but can be overridden by this function. A pointer to the previously
|
| // set function is returned, so that functions can be chained.
|
| -CORE_EXPORT InstallPendingConditionalFeatureFunction
|
| +PLATFORM_EXPORT InstallPendingConditionalFeatureFunction
|
| SetInstallPendingConditionalFeatureFunction(
|
| InstallPendingConditionalFeatureFunction);
|
|
|
| @@ -41,18 +41,18 @@ CORE_EXPORT InstallPendingConditionalFeatureFunction
|
| // a specific context. This is called in V8PerContextData, after the constructor
|
| // and prototype for the type have been created. It indirectly calls the
|
| // function set by |setInstallConditionalFeaturesFunction|.
|
| -CORE_EXPORT void InstallConditionalFeatures(const WrapperTypeInfo*,
|
| - const ScriptState*,
|
| - v8::Local<v8::Object>,
|
| - v8::Local<v8::Function>);
|
| +PLATFORM_EXPORT void InstallConditionalFeatures(const WrapperTypeInfo*,
|
| + const ScriptState*,
|
| + v8::Local<v8::Object>,
|
| + v8::Local<v8::Function>);
|
|
|
| // Installs all of the conditionally enabled V8 bindings for a feature, if
|
| // needed. This is called to install a newly-enabled feature on any existing
|
| // objects. If the target object hasn't been created, nothing is installed. The
|
| // enabled feature will be instead be installed when the object is created
|
| // (avoids forcing the creation of objects prematurely).
|
| -CORE_EXPORT void InstallPendingConditionalFeature(const String&,
|
| - const ScriptState*);
|
| +PLATFORM_EXPORT void InstallPendingConditionalFeature(const String&,
|
| + const ScriptState*);
|
|
|
| } // namespace blink
|
|
|
|
|