| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8InjectedScriptHost_h | 5 #ifndef V8InjectedScriptHost_h |
| 6 #define V8InjectedScriptHost_h | 6 #define V8InjectedScriptHost_h |
| 7 | 7 |
| 8 #include <v8.h> | 8 #include <v8.h> |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class InjectedScriptHost; | 12 class InjectedScriptHost; |
| 13 class V8DebuggerClient; | 13 class V8DebuggerClient; |
| 14 | 14 |
| 15 class V8InjectedScriptHost { | 15 class V8InjectedScriptHost { |
| 16 public: | 16 public: |
| 17 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo
rTemplate, v8::Local<v8::Context>, InjectedScriptHost*); | 17 static v8::Local<v8::Object> wrap(V8DebuggerClient*, v8::Local<v8::FunctionT
emplate> constructorTemplate, v8::Local<v8::Context>, InjectedScriptHost*); |
| 18 static InjectedScriptHost* unwrap(v8::Local<v8::Context>, v8::Local<v8::Obje
ct>); | 18 static InjectedScriptHost* unwrap(v8::Local<v8::Context>, v8::Local<v8::Obje
ct>); |
| 19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); | 19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); |
| 20 | 20 |
| 21 static void clearConsoleMessagesCallback(const v8::FunctionCallbackInfo<v8::
Value>&); | 21 static void clearConsoleMessagesCallback(const v8::FunctionCallbackInfo<v8::
Value>&); |
| 22 static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 22 static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 23 static void inspectedObjectCallback(const v8::FunctionCallbackInfo<v8::Value
>&); | 23 static void inspectedObjectCallback(const v8::FunctionCallbackInfo<v8::Value
>&); |
| 24 static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v
8::Value>&); | 24 static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v
8::Value>&); |
| 25 static void formatAccessorsAsProperties(const v8::FunctionCallbackInfo<v8::V
alue>&); | 25 static void formatAccessorsAsProperties(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 26 static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&)
; | 26 static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&)
; |
| 27 static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 27 static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 41 static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Va
lue>&); | 41 static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Va
lue>&); |
| 42 static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo<
v8::Value>&); | 42 static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo<
v8::Value>&); |
| 43 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 43 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 44 static void objectForIdCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 44 static void objectForIdCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 45 static void idToObjectGroupNameCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); | 45 static void idToObjectGroupNameCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // V8InjectedScriptHost_h | 50 #endif // V8InjectedScriptHost_h |
| OLD | NEW |