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

Side by Side Diff: Source/WebCore/dom/ScriptExecutionContext.h

Issue 6537003: Merge 78648 - 2011-02-15 James Robinson <jamesr@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months 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
« no previous file with comments | « Source/WebCore/dom/Document.cpp ('k') | Source/WebCore/dom/ScriptedAnimationController.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Active objects can be asked to suspend even if canSuspendActiveDOMObj ects() returns 'false' - 100 // Active objects can be asked to suspend even if canSuspendActiveDOMObj ects() returns 'false' -
101 // step-by-step JS debugging is one example. 101 // step-by-step JS debugging is one example.
102 void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension); 102 void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension);
103 void resumeActiveDOMObjects(); 103 void resumeActiveDOMObjects();
104 void stopActiveDOMObjects(); 104 void stopActiveDOMObjects();
105 void createdActiveDOMObject(ActiveDOMObject*, void* upcastPointer); 105 void createdActiveDOMObject(ActiveDOMObject*, void* upcastPointer);
106 void destroyedActiveDOMObject(ActiveDOMObject*); 106 void destroyedActiveDOMObject(ActiveDOMObject*);
107 typedef const HashMap<ActiveDOMObject*, void*> ActiveDOMObjectsMap; 107 typedef const HashMap<ActiveDOMObject*, void*> ActiveDOMObjectsMap;
108 ActiveDOMObjectsMap& activeDOMObjects() const { return m_activeDOMObject s; } 108 ActiveDOMObjectsMap& activeDOMObjects() const { return m_activeDOMObject s; }
109 109
110 virtual void suspendScriptedAnimationControllerCallbacks() { }
111 virtual void resumeScriptedAnimationControllerCallbacks() { }
112
110 // MessagePort is conceptually a kind of ActiveDOMObject, but it needs t o be tracked separately for message dispatch. 113 // MessagePort is conceptually a kind of ActiveDOMObject, but it needs t o be tracked separately for message dispatch.
111 void processMessagePortMessagesSoon(); 114 void processMessagePortMessagesSoon();
112 void dispatchMessagePortEvents(); 115 void dispatchMessagePortEvents();
113 void createdMessagePort(MessagePort*); 116 void createdMessagePort(MessagePort*);
114 void destroyedMessagePort(MessagePort*); 117 void destroyedMessagePort(MessagePort*);
115 const HashSet<MessagePort*>& messagePorts() const { return m_messagePort s; } 118 const HashSet<MessagePort*>& messagePorts() const { return m_messagePort s; }
116 119
117 #if ENABLE(BLOB) 120 #if ENABLE(BLOB)
118 void createdDomUrl(DOMURL*); 121 void createdDomUrl(DOMURL*);
119 void destroyedDomUrl(DOMURL*); 122 void destroyedDomUrl(DOMURL*);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 198
196 #if ENABLE(BLOB) || ENABLE(FILE_SYSTEM) 199 #if ENABLE(BLOB) || ENABLE(FILE_SYSTEM)
197 RefPtr<FileThread> m_fileThread; 200 RefPtr<FileThread> m_fileThread;
198 #endif 201 #endif
199 }; 202 };
200 203
201 } // namespace WebCore 204 } // namespace WebCore
202 205
203 206
204 #endif // ScriptExecutionContext_h 207 #endif // ScriptExecutionContext_h
OLDNEW
« no previous file with comments | « Source/WebCore/dom/Document.cpp ('k') | Source/WebCore/dom/ScriptedAnimationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698