Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
index 5a30fb999ac105893447972d981562f3aa3b13d3..5758eb56e97b37c5411ab9af010c939be8778f74 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
@@ -2,58 +2,6 @@ |
// 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/wtf/text/WTFString.h" |
-#include "v8/include/v8.h" |
- |
-namespace blink { |
- |
-class ScriptState; |
-struct WrapperTypeInfo; |
- |
-using InstallConditionalFeaturesFunction = void (*)(const WrapperTypeInfo*, |
- const ScriptState*, |
- v8::Local<v8::Object>, |
- v8::Local<v8::Function>); |
- |
-using InstallPendingConditionalFeatureFunction = void (*)(const String&, |
- const ScriptState*); |
- |
-// Sets the function to be called by |installConditionalFeatures|. The function |
-// 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 |
- 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 |
- SetInstallPendingConditionalFeatureFunction( |
- InstallPendingConditionalFeatureFunction); |
- |
-// Installs all of the conditionally enabled V8 bindings for the given type, in |
-// 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>); |
- |
-// 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*); |
- |
-} // namespace blink |
- |
-#endif // ConditionalFeatures_h |
+// This file has been moved to platform/bindings/ConditionalFeatures.h. |
+// TODO(adithyas): Remove this file. |
+#include "platform/bindings/ConditionalFeatures.h" |