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

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

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)
Patch Set: Remove stray include 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 94%
copy from third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
copy to third_party/WebKit/Source/platform/bindings/V8DOMWrapper.h
index a3dec3ed47c3877b018eb5e94e2b95d9b3af6710..ac094b1103c006573055d55c6efcb783c0d54237 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
+++ b/third_party/WebKit/Source/platform/bindings/V8DOMWrapper.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
+ * Copyright (C) 2017 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -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