| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 2008 Apple Inc. All Rights Reserved. |    2  * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 
|    3  * Copyright (C) 2012 Google Inc. All Rights Reserved. |    3  * Copyright (C) 2012 Google Inc. All Rights Reserved. | 
|    4  * |    4  * | 
|    5  * Redistribution and use in source and binary forms, with or without |    5  * Redistribution and use in source and binary forms, with or without | 
|    6  * modification, are permitted provided that the following conditions |    6  * modification, are permitted provided that the following conditions | 
|    7  * are met: |    7  * are met: | 
|    8  * 1. Redistributions of source code must retain the above copyright |    8  * 1. 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  * 2. Redistributions in binary form must reproduce the above copyright |   10  * 2. Redistributions in binary form must reproduce the above copyright | 
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  145  |  145  | 
|  146     bool dispatchErrorEvent(PassRefPtrWillBeRawPtr<ErrorEvent>, AccessControlSta
     tus); |  146     bool dispatchErrorEvent(PassRefPtrWillBeRawPtr<ErrorEvent>, AccessControlSta
     tus); | 
|  147  |  147  | 
|  148 #if !ENABLE(OILPAN) |  148 #if !ENABLE(OILPAN) | 
|  149     virtual void refExecutionContext() = 0; |  149     virtual void refExecutionContext() = 0; | 
|  150     virtual void derefExecutionContext() = 0; |  150     virtual void derefExecutionContext() = 0; | 
|  151 #endif |  151 #endif | 
|  152     // LifecycleContext implementation. |  152     // LifecycleContext implementation. | 
|  153  |  153  | 
|  154     // Implementation details for DOMTimer. No other classes should call these f
     unctions. |  154     // Implementation details for DOMTimer. No other classes should call these f
     unctions. | 
|  155     int installNewTimeout(PassOwnPtr<ScheduledAction>, int timeout, bool singleS
     hot); |  155     int installNewTimeout(PassOwnPtr<ScheduledActionBase>, int timeout, bool sin
     gleShot); | 
|  156     void removeTimeoutByID(int timeoutID); // This makes underlying DOMTimer ins
     tance destructed. |  156     void removeTimeoutByID(int timeoutID); // This makes underlying DOMTimer ins
     tance destructed. | 
|  157  |  157  | 
|  158     SandboxFlags m_sandboxFlags; |  158     SandboxFlags m_sandboxFlags; | 
|  159  |  159  | 
|  160     int m_circularSequentialID; |  160     int m_circularSequentialID; | 
|  161     typedef HashMap<int, OwnPtr<DOMTimer> > TimeoutMap; |  161     typedef HashMap<int, OwnPtr<DOMTimer> > TimeoutMap; | 
|  162     TimeoutMap m_timeouts; |  162     TimeoutMap m_timeouts; | 
|  163  |  163  | 
|  164     bool m_inDispatchErrorEvent; |  164     bool m_inDispatchErrorEvent; | 
|  165     class PendingException; |  165     class PendingException; | 
|  166     OwnPtrWillBeMember<WillBeHeapVector<OwnPtrWillBeMember<PendingException> > >
      m_pendingExceptions; |  166     OwnPtrWillBeMember<WillBeHeapVector<OwnPtrWillBeMember<PendingException> > >
      m_pendingExceptions; | 
|  167  |  167  | 
|  168     bool m_activeDOMObjectsAreSuspended; |  168     bool m_activeDOMObjectsAreSuspended; | 
|  169     bool m_activeDOMObjectsAreStopped; |  169     bool m_activeDOMObjectsAreStopped; | 
|  170  |  170  | 
|  171     OwnPtr<PublicURLManager> m_publicURLManager; |  171     OwnPtr<PublicURLManager> m_publicURLManager; | 
|  172  |  172  | 
|  173     // The location of this member is important; to make sure contextDestroyed()
      notification on |  173     // The location of this member is important; to make sure contextDestroyed()
      notification on | 
|  174     // ExecutionContext's members (notably m_timeouts) is called before they are
      destructed, |  174     // ExecutionContext's members (notably m_timeouts) is called before they are
      destructed, | 
|  175     // m_lifecycleNotifer should be placed *after* such members. |  175     // m_lifecycleNotifer should be placed *after* such members. | 
|  176     OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; |  176     OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; | 
|  177 }; |  177 }; | 
|  178  |  178  | 
|  179 } // namespace blink |  179 } // namespace blink | 
|  180  |  180  | 
|  181 #endif // ExecutionContext_h |  181 #endif // ExecutionContext_h | 
| OLD | NEW |