| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WaitUntilObserver_h | 5 #ifndef WaitUntilObserver_h |
| 6 #define WaitUntilObserver_h | 6 #define WaitUntilObserver_h |
| 7 | 7 |
| 8 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
| 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
| 10 #include "platform/Timer.h" | 10 #include "platform/Timer.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 void consumeWindowInteraction(TimerBase*); | 65 void consumeWindowInteraction(TimerBase*); |
| 66 | 66 |
| 67 Member<ExecutionContext> m_executionContext; | 67 Member<ExecutionContext> m_executionContext; |
| 68 EventType m_type; | 68 EventType m_type; |
| 69 int m_eventID; | 69 int m_eventID; |
| 70 int m_pendingActivity = 0; | 70 int m_pendingActivity = 0; |
| 71 bool m_hasError = false; | 71 bool m_hasError = false; |
| 72 bool m_eventDispatched = false; | 72 bool m_eventDispatched = false; |
| 73 double m_eventDispatchTime = 0; | 73 double m_eventDispatchTime = 0; |
| 74 Timer<WaitUntilObserver> m_consumeWindowInteractionTimer; | 74 TaskRunnerTimer<WaitUntilObserver> m_consumeWindowInteractionTimer; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace blink | 77 } // namespace blink |
| 78 | 78 |
| 79 #endif // WaitUntilObserver_h | 79 #endif // WaitUntilObserver_h |
| OLD | NEW |