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

Unified Diff: third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)
Patch Set: Rebase and try again Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
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 80%
copy from third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h
copy to third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h
index 5a30fb999ac105893447972d981562f3aa3b13d3..97a5044e03b8fc85f3984a7b2c0d79b33c5e7963 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h
+++ b/third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h
@@ -5,7 +5,7 @@
#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

Powered by Google App Engine
This is Rietveld 408576698