OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2012 Ericsson AB. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 CORE_EXPORT v8::Isolate* toIsolate(LocalFrame*); | 969 CORE_EXPORT v8::Isolate* toIsolate(LocalFrame*); |
970 | 970 |
971 CORE_EXPORT DOMWindow* toDOMWindow(v8::Isolate*, v8::Local<v8::Value>); | 971 CORE_EXPORT DOMWindow* toDOMWindow(v8::Isolate*, v8::Local<v8::Value>); |
972 DOMWindow* toDOMWindow(v8::Local<v8::Context>); | 972 DOMWindow* toDOMWindow(v8::Local<v8::Context>); |
973 LocalDOMWindow* enteredDOMWindow(v8::Isolate*); | 973 LocalDOMWindow* enteredDOMWindow(v8::Isolate*); |
974 CORE_EXPORT LocalDOMWindow* currentDOMWindow(v8::Isolate*); | 974 CORE_EXPORT LocalDOMWindow* currentDOMWindow(v8::Isolate*); |
975 CORE_EXPORT ExecutionContext* toExecutionContext(v8::Local<v8::Context>); | 975 CORE_EXPORT ExecutionContext* toExecutionContext(v8::Local<v8::Context>); |
976 CORE_EXPORT void registerToExecutionContextForModules( | 976 CORE_EXPORT void registerToExecutionContextForModules( |
977 ExecutionContext* (*toExecutionContextForModules)(v8::Local<v8::Context>)); | 977 ExecutionContext* (*toExecutionContextForModules)(v8::Local<v8::Context>)); |
978 CORE_EXPORT ExecutionContext* currentExecutionContext(v8::Isolate*); | 978 CORE_EXPORT ExecutionContext* currentExecutionContext(v8::Isolate*); |
979 CORE_EXPORT ExecutionContext* enteredExecutionContext(v8::Isolate*); | |
980 | 979 |
981 // Returns a V8 context associated with a ExecutionContext and a | 980 // Returns a V8 context associated with a ExecutionContext and a |
982 // DOMWrapperWorld. This method returns an empty context if there is no frame | 981 // DOMWrapperWorld. This method returns an empty context if there is no frame |
983 // or the frame is already detached. | 982 // or the frame is already detached. |
984 CORE_EXPORT v8::Local<v8::Context> toV8Context(ExecutionContext*, | 983 CORE_EXPORT v8::Local<v8::Context> toV8Context(ExecutionContext*, |
985 DOMWrapperWorld&); | 984 DOMWrapperWorld&); |
986 // Returns a V8 context associated with a Frame and a DOMWrapperWorld. | 985 // Returns a V8 context associated with a Frame and a DOMWrapperWorld. |
987 // This method returns an empty context if the frame is already detached. | 986 // This method returns an empty context if the frame is already detached. |
988 CORE_EXPORT v8::Local<v8::Context> toV8Context(Frame*, DOMWrapperWorld&); | 987 CORE_EXPORT v8::Local<v8::Context> toV8Context(Frame*, DOMWrapperWorld&); |
989 // Like toV8Context but also returns the context if the frame is already | 988 // Like toV8Context but also returns the context if the frame is already |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 // If the argument isn't an object, this will crash. | 1135 // If the argument isn't an object, this will crash. |
1137 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, | 1136 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, |
1138 v8::Isolate*); | 1137 v8::Isolate*); |
1139 | 1138 |
1140 CORE_EXPORT v8::Local<v8::Value> fromJSONString(v8::Isolate*, | 1139 CORE_EXPORT v8::Local<v8::Value> fromJSONString(v8::Isolate*, |
1141 const String& stringifiedJSON, | 1140 const String& stringifiedJSON, |
1142 ExceptionState&); | 1141 ExceptionState&); |
1143 } // namespace blink | 1142 } // namespace blink |
1144 | 1143 |
1145 #endif // V8Binding_h | 1144 #endif // V8Binding_h |
OLD | NEW |