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

Unified Diff: third_party/WebKit/Source/platform/bindings/V8DOMWrapper.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/V8DOMWrapper.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h b/third_party/WebKit/Source/platform/bindings/V8DOMWrapper.h
similarity index 95%
copy from third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
copy to third_party/WebKit/Source/platform/bindings/V8DOMWrapper.h
index a3dec3ed47c3877b018eb5e94e2b95d9b3af6710..fadd3cd61f0f05494cf72e782e5abb65da156301 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
+++ b/third_party/WebKit/Source/platform/bindings/V8DOMWrapper.h
@@ -31,11 +31,11 @@
#ifndef V8DOMWrapper_h
#define V8DOMWrapper_h
-#include "bindings/core/v8/DOMDataStore.h"
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "bindings/core/v8/V8Binding.h"
-#include "bindings/core/v8/WrapperCreationSecurityCheck.h"
-#include "core/CoreExport.h"
+#include "platform/PlatformExport.h"
+#include "platform/bindings/DOMDataStore.h"
+#include "platform/bindings/ScriptWrappable.h"
+#include "platform/bindings/V8Binding.h"
+#include "platform/bindings/WrapperCreationSecurityCheck.h"
#include "platform/wtf/Compiler.h"
#include "platform/wtf/text/AtomicString.h"
#include "v8/include/v8.h"
@@ -52,7 +52,7 @@ class V8DOMWrapper {
v8::Isolate*,
v8::Local<v8::Object> creation_context,
const WrapperTypeInfo*);
- static bool IsWrapper(v8::Isolate*, v8::Local<v8::Value>);
+ PLATFORM_EXPORT static bool IsWrapper(v8::Isolate*, v8::Local<v8::Value>);
// Associates the given ScriptWrappable with the given |wrapper| if the
// ScriptWrappable is not yet associated with any wrapper. Returns the
@@ -73,7 +73,7 @@ class V8DOMWrapper {
// wrapper obejct and type, and does not check if it's valid or not. The
// value may not be a Blink's wrapper object. In order to make sure of it,
// Use isWrapper function instead.
- CORE_EXPORT static bool HasInternalFieldsSet(v8::Local<v8::Value>);
+ PLATFORM_EXPORT static bool HasInternalFieldsSet(v8::Local<v8::Value>);
};
inline void V8DOMWrapper::SetNativeInfo(

Powered by Google App Engine
This is Rietveld 408576698