OLD | NEW |
1 // Copyright 2008, Google Inc. | 1 // Copyright 2008, Google Inc. |
2 // All rights reserved. | 2 // 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 void setProcessingTimerCallback(bool b) { m_processingTimerCallback = b; } | 225 void setProcessingTimerCallback(bool b) { m_processingTimerCallback = b; } |
226 bool processingUserGesture() const; | 226 bool processingUserGesture() const; |
227 | 227 |
228 void setPaused(bool b) { m_paused = b; } | 228 void setPaused(bool b) { m_paused = b; } |
229 bool isPaused() const { return m_paused; } | 229 bool isPaused() const { return m_paused; } |
230 | 230 |
231 const String* sourceURL() const { return m_sourceURL; } // 0 if we are not e
valuating any script | 231 const String* sourceURL() const { return m_sourceURL; } // 0 if we are not e
valuating any script |
232 | 232 |
233 void clearWindowShell(); | 233 void clearWindowShell(); |
234 void updateDocument(); | 234 void updateDocument(); |
235 void notifyDOMWindowReady() { m_proxy->domWindowReady(); } | 235 void windowObjectAvailable() { m_proxy->domWindowReady(); } |
236 | 236 |
237 void pauseTimeouts(OwnPtr<PausedTimeouts>&); | 237 void pauseTimeouts(OwnPtr<PausedTimeouts>&); |
238 void resumeTimeouts(OwnPtr<PausedTimeouts>&); | 238 void resumeTimeouts(OwnPtr<PausedTimeouts>&); |
239 | 239 |
240 void clearScriptObjects(); | 240 void clearScriptObjects(); |
241 void cleanupScriptObjectsForPlugin(void*); | 241 void cleanupScriptObjectsForPlugin(void*); |
242 | 242 |
243 #if ENABLE(NETSCAPE_PLUGIN_API) | 243 #if ENABLE(NETSCAPE_PLUGIN_API) |
244 NPObject* createScriptObjectForPluginElement(HTMLPlugInElement*); | 244 NPObject* createScriptObjectForPluginElement(HTMLPlugInElement*); |
245 NPObject* windowScriptNPObject(); | 245 NPObject* windowScriptNPObject(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 JSInstanceHolder& operator=(JSInstanceHandle); | 283 JSInstanceHolder& operator=(JSInstanceHandle); |
284 static JSInstance EmptyInstance(); | 284 static JSInstance EmptyInstance(); |
285 | 285 |
286 private: | 286 private: |
287 JSPersistentInstance m_instance; | 287 JSPersistentInstance m_instance; |
288 }; | 288 }; |
289 | 289 |
290 } // namespace WebCore | 290 } // namespace WebCore |
291 | 291 |
292 #endif // ScriptController_h | 292 #endif // ScriptController_h |
OLD | NEW |