| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // FIXME: Get rid of extensionGroup here. | 84 // FIXME: Get rid of extensionGroup here. |
| 85 void executeScriptInIsolatedWorld(int worldID, const Vector<ScriptSourceCode
>& sources, int extensionGroup, Vector<v8::Local<v8::Value> >* results); | 85 void executeScriptInIsolatedWorld(int worldID, const Vector<ScriptSourceCode
>& sources, int extensionGroup, Vector<v8::Local<v8::Value> >* results); |
| 86 | 86 |
| 87 v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, v8::Handle<v8::V
alue>, int argc, v8::Handle<v8::Value> argv[]); | 87 v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, v8::Handle<v8::V
alue>, int argc, v8::Handle<v8::Value> argv[]); |
| 88 static v8::Local<v8::Value> callFunction(ExecutionContext*, v8::Handle<v8::F
unction>, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[]
, v8::Isolate*); | 88 static v8::Local<v8::Value> callFunction(ExecutionContext*, v8::Handle<v8::F
unction>, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[]
, v8::Isolate*); |
| 89 | 89 |
| 90 static bool canAccessFromCurrentOrigin(LocalFrame*); | 90 static bool canAccessFromCurrentOrigin(LocalFrame*); |
| 91 | 91 |
| 92 static void setCaptureCallStackForUncaughtExceptions(bool); | 92 static void setCaptureCallStackForUncaughtExceptions(bool); |
| 93 | 93 |
| 94 TextPosition eventHandlerPosition() const; | |
| 95 | |
| 96 void clearWindowProxy(); | 94 void clearWindowProxy(); |
| 97 void updateDocument(); | 95 void updateDocument(); |
| 98 | 96 |
| 99 void clearForClose(); | 97 void clearForClose(); |
| 100 | 98 |
| 101 // Registers a v8 extension to be available on webpages. Will only | 99 // Registers a v8 extension to be available on webpages. Will only |
| 102 // affect v8 contexts initialized after this call. Takes ownership of | 100 // affect v8 contexts initialized after this call. Takes ownership of |
| 103 // the v8::Extension object passed. | 101 // the v8::Extension object passed. |
| 104 static void registerExtensionIfNeeded(v8::Extension*); | 102 static void registerExtensionIfNeeded(v8::Extension*); |
| 105 static V8Extensions& registeredExtensions(); | 103 static V8Extensions& registeredExtensions(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 117 const String* m_sourceURL; | 115 const String* m_sourceURL; |
| 118 v8::Isolate* m_isolate; | 116 v8::Isolate* m_isolate; |
| 119 | 117 |
| 120 OwnPtr<WindowProxy> m_windowProxy; | 118 OwnPtr<WindowProxy> m_windowProxy; |
| 121 IsolatedWorldMap m_isolatedWorlds; | 119 IsolatedWorldMap m_isolatedWorlds; |
| 122 }; | 120 }; |
| 123 | 121 |
| 124 } // namespace blink | 122 } // namespace blink |
| 125 | 123 |
| 126 #endif // ScriptController_h | 124 #endif // ScriptController_h |
| OLD | NEW |