| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 void clearWindowProxy(); | 135 void clearWindowProxy(); |
| 136 void updateDocument(); | 136 void updateDocument(); |
| 137 | 137 |
| 138 void namedItemAdded(HTMLDocument*, const AtomicString&); | 138 void namedItemAdded(HTMLDocument*, const AtomicString&); |
| 139 void namedItemRemoved(HTMLDocument*, const AtomicString&); | 139 void namedItemRemoved(HTMLDocument*, const AtomicString&); |
| 140 | 140 |
| 141 void updateSecurityOrigin(SecurityOrigin*); | 141 void updateSecurityOrigin(SecurityOrigin*); |
| 142 void clearScriptObjects(); | 142 void clearScriptObjects(); |
| 143 void cleanupScriptObjectsForPlugin(Widget*); | 143 void cleanupScriptObjectsForPlugin(Widget*); |
| 144 | 144 |
| 145 void clearForClose(); | |
| 146 | |
| 147 NPObject* createScriptObjectForPluginElement(HTMLPlugInElement*); | 145 NPObject* createScriptObjectForPluginElement(HTMLPlugInElement*); |
| 148 NPObject* windowScriptNPObject(); | 146 NPObject* windowScriptNPObject(); |
| 149 | 147 |
| 150 // Registers a v8 extension to be available on webpages. Will only | 148 // Registers a v8 extension to be available on webpages. Will only |
| 151 // affect v8 contexts initialized after this call. Takes ownership of | 149 // affect v8 contexts initialized after this call. Takes ownership of |
| 152 // the v8::Extension object passed. | 150 // the v8::Extension object passed. |
| 153 static void registerExtensionIfNeeded(v8::Extension*); | 151 static void registerExtensionIfNeeded(v8::Extension*); |
| 154 static V8Extensions& registeredExtensions(); | 152 static V8Extensions& registeredExtensions(); |
| 155 | 153 |
| 156 v8::Isolate* isolate() const { return m_windowProxyManager->isolate(); } | 154 v8::Isolate* isolate() const { return m_windowProxyManager->isolate(); } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 174 // invalidate all sub-objects which are associated with that plugin. | 172 // invalidate all sub-objects which are associated with that plugin. |
| 175 // The frame keeps a NPObject reference for each item on the list. | 173 // The frame keeps a NPObject reference for each item on the list. |
| 176 PluginObjectMap m_pluginObjects; | 174 PluginObjectMap m_pluginObjects; |
| 177 | 175 |
| 178 NPObject* m_windowScriptNPObject; | 176 NPObject* m_windowScriptNPObject; |
| 179 }; | 177 }; |
| 180 | 178 |
| 181 } // namespace blink | 179 } // namespace blink |
| 182 | 180 |
| 183 #endif // ScriptController_h | 181 #endif // ScriptController_h |
| OLD | NEW |