| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef V8HiddenValue_h | |
| 6 #define V8HiddenValue_h | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #include "bindings/core/v8/ScopedPersistent.h" | |
| 11 #include "bindings/core/v8/ScriptPromiseProperties.h" | |
| 12 #include "core/CoreExport.h" | |
| 13 #include "platform/wtf/Allocator.h" | |
| 14 #include "platform/wtf/PtrUtil.h" | |
| 15 #include "v8/include/v8.h" | |
| 16 | |
| 17 namespace blink { | |
| 18 | |
| 19 class ScriptState; | |
| 20 | |
| 21 class CORE_EXPORT V8HiddenValue { | |
| 22 public: | |
| 23 static v8::Local<v8::Value> GetHiddenValue(ScriptState*, | |
| 24 v8::Local<v8::Object>, | |
| 25 v8::Local<v8::String>); | |
| 26 static bool SetHiddenValue(ScriptState*, | |
| 27 v8::Local<v8::Object>, | |
| 28 v8::Local<v8::String>, | |
| 29 v8::Local<v8::Value>); | |
| 30 static bool DeleteHiddenValue(ScriptState*, | |
| 31 v8::Local<v8::Object>, | |
| 32 v8::Local<v8::String>); | |
| 33 }; | |
| 34 | |
| 35 } // namespace blink | |
| 36 | |
| 37 #endif // V8HiddenValue_h | |
| OLD | NEW |