Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: webkit/port/bindings/v8/ScriptController.h

Issue 9247: Rename ScriptController::notifyDOMWindowReady() to windowObjectAvailable().... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/port/bindings/v8/v8_proxy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | webkit/port/bindings/v8/v8_proxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698