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

Unified Diff: sky/engine/bindings/core/v8/V8HiddenValue.h

Issue 922053002: Remove unused V8 integration code in Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: sky/engine/bindings/core/v8/V8HiddenValue.h
diff --git a/sky/engine/bindings/core/v8/V8HiddenValue.h b/sky/engine/bindings/core/v8/V8HiddenValue.h
deleted file mode 100644
index 065b106fb10ba4aea121646f96dc80f3aad9f5fa..0000000000000000000000000000000000000000
--- a/sky/engine/bindings/core/v8/V8HiddenValue.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2014 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 SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_
-#define SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_
-
-#include "sky/engine/bindings/core/v8/ScopedPersistent.h"
-#include "sky/engine/bindings/core/v8/ScriptPromiseProperties.h"
-#include "v8/include/v8.h"
-
-namespace blink {
-
-class ScriptWrappable;
-
-#define V8_HIDDEN_VALUES(V) \
- V(arrayBufferData) \
- V(customElementAttachedCallback) \
- V(customElementAttributeChangedCallback) \
- V(customElementCreatedCallback) \
- V(customElementDetachedCallback) \
- V(customElementDocument) \
- V(customElementIsInterfacePrototypeObject) \
- V(customElementNamespaceURI) \
- V(customElementTagName) \
- V(callback) \
- V(condition) \
- V(data) \
- V(detail) \
- V(document) \
- V(error) \
- V(idbCursorRequest) \
- V(port1) \
- V(port2) \
- V(state) \
- V(stringData) \
- V(scriptState) \
- V(thenableHiddenPromise) \
- V(toStringString) \
- SCRIPT_PROMISE_PROPERTIES(V, Promise) \
- SCRIPT_PROMISE_PROPERTIES(V, Resolver)
-
-class V8HiddenValue {
-public:
-#define V8_DECLARE_METHOD(name) static v8::Handle<v8::String> name(v8::Isolate* isolate);
- V8_HIDDEN_VALUES(V8_DECLARE_METHOD);
-#undef V8_DECLARE_METHOD
-
- static v8::Local<v8::Value> getHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle<v8::String>);
- static bool setHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle<v8::String>, v8::Handle<v8::Value>);
- static bool deleteHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle<v8::String>);
- static v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate*, ScriptWrappable*, v8::Handle<v8::String>);
-
-private:
-#define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
- V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
-#undef V8_DECLARE_FIELD
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_
« no previous file with comments | « sky/engine/bindings/core/v8/V8GCForContextDispose.cpp ('k') | sky/engine/bindings/core/v8/V8HiddenValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698