| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef V8InjectedScriptHost_h |
| 6 #define V8InjectedScriptHost_h |
| 7 |
| 8 #include "wtf/Forward.h" |
| 9 #include <v8.h> |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class InjectedScriptHost; |
| 14 |
| 15 class V8InjectedScriptHost { |
| 16 public: |
| 17 static v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::FunctionTempla
te> constructorTemplate, PassRefPtr<InjectedScriptHost>); |
| 18 static InjectedScriptHost* toImpl(v8::Local<v8::Object>); |
| 19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); |
| 20 |
| 21 static void clearConsoleMessagesCallback(const v8::FunctionCallbackInfo<v8::
Value>&); |
| 22 static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 23 static void inspectedObjectCallback(const v8::FunctionCallbackInfo<v8::Value
>&); |
| 24 static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v
8::Value>&); |
| 25 static void isDOMWrapperCallback(const v8::FunctionCallbackInfo<v8::Value>&)
; |
| 26 static void isHTMLAllCollectionCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 27 static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&)
; |
| 28 static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 29 static void functionDetailsCallback(const v8::FunctionCallbackInfo<v8::Value
>&); |
| 30 static void generatorObjectDetailsCallback(const v8::FunctionCallbackInfo<v8
::Value>&); |
| 31 static void collectionEntriesCallback(const v8::FunctionCallbackInfo<v8::Val
ue>&); |
| 32 static void getInternalPropertiesCallback(const v8::FunctionCallbackInfo<v8:
:Value>&); |
| 33 static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Val
ue>&); |
| 34 static void evalCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 35 static void evaluateWithExceptionDetailsCallback(const v8::FunctionCallbackI
nfo<v8::Value>&); |
| 36 static void debugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&
); |
| 37 static void undebugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value
>&); |
| 38 static void monitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value
>&); |
| 39 static void unmonitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Val
ue>&); |
| 40 static void callFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&)
; |
| 41 static void suppressWarningsAndCallFunctionCallback(const v8::FunctionCallba
ckInfo<v8::Value>&); |
| 42 static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Va
lue>&); |
| 43 static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo<
v8::Value>&); |
| 44 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 45 static void objectForIdCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 46 static void idToObjectGroupNameCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 47 |
| 48 private: |
| 49 static v8::Local<v8::String> hiddenPropertyName(v8::Isolate*); |
| 50 }; |
| 51 |
| 52 } // namespace blink |
| 53 |
| 54 #endif // V8InjectedScriptHost_h |
| OLD | NEW |