| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 #if !ENABLE(OILPAN) | 144 #if !ENABLE(OILPAN) |
| 145 virtual void refExecutionContext() = 0; | 145 virtual void refExecutionContext() = 0; |
| 146 virtual void derefExecutionContext() = 0; | 146 virtual void derefExecutionContext() = 0; |
| 147 #endif | 147 #endif |
| 148 // LifecycleContext implementation. | 148 // LifecycleContext implementation. |
| 149 | 149 |
| 150 int m_circularSequentialID; | 150 int m_circularSequentialID; |
| 151 | 151 |
| 152 bool m_inDispatchErrorEvent; | 152 bool m_inDispatchErrorEvent; |
| 153 class PendingException; | 153 class PendingException; |
| 154 OwnPtrWillBeMember<WillBeHeapVector<OwnPtrWillBeMember<PendingException> > >
m_pendingExceptions; | 154 OwnPtrWillBeMember<WillBeHeapVector<OwnPtrWillBeMember<PendingException>>> m
_pendingExceptions; |
| 155 | 155 |
| 156 bool m_activeDOMObjectsAreSuspended; | 156 bool m_activeDOMObjectsAreSuspended; |
| 157 bool m_activeDOMObjectsAreStopped; | 157 bool m_activeDOMObjectsAreStopped; |
| 158 | 158 |
| 159 OwnPtrWillBeMember<PublicURLManager> m_publicURLManager; | 159 OwnPtrWillBeMember<PublicURLManager> m_publicURLManager; |
| 160 | 160 |
| 161 bool m_strictMixedContentCheckingEnforced; | 161 bool m_strictMixedContentCheckingEnforced; |
| 162 | 162 |
| 163 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; | 163 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; |
| 164 | 164 |
| 165 // Counter that keeps track of how many window interaction calls are allowed | 165 // Counter that keeps track of how many window interaction calls are allowed |
| 166 // for this ExecutionContext. Callers are expected to call | 166 // for this ExecutionContext. Callers are expected to call |
| 167 // |allowWindowInteraction()| and |consumeWindowInteraction()| in order to | 167 // |allowWindowInteraction()| and |consumeWindowInteraction()| in order to |
| 168 // increment and decrement the counter. | 168 // increment and decrement the counter. |
| 169 int m_windowInteractionTokens; | 169 int m_windowInteractionTokens; |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace blink | 172 } // namespace blink |
| 173 | 173 |
| 174 #endif // ExecutionContext_h | 174 #endif // ExecutionContext_h |
| OLD | NEW |