OLD | NEW |
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 14 matching lines...) Expand all Loading... |
25 */ | 25 */ |
26 | 26 |
27 #ifndef DOMTimer_h | 27 #ifndef DOMTimer_h |
28 #define DOMTimer_h | 28 #define DOMTimer_h |
29 | 29 |
30 #include "bindings/core/v8/ScheduledAction.h" | 30 #include "bindings/core/v8/ScheduledAction.h" |
31 #include "core/CoreExport.h" | 31 #include "core/CoreExport.h" |
32 #include "core/frame/SuspendableTimer.h" | 32 #include "core/frame/SuspendableTimer.h" |
33 #include "platform/UserGestureIndicator.h" | 33 #include "platform/UserGestureIndicator.h" |
34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
35 #include "wtf/RefPtr.h" | 35 #include "platform/wtf/RefPtr.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class ExecutionContext; | 39 class ExecutionContext; |
40 | 40 |
41 class CORE_EXPORT DOMTimer final : public GarbageCollectedFinalized<DOMTimer>, | 41 class CORE_EXPORT DOMTimer final : public GarbageCollectedFinalized<DOMTimer>, |
42 public SuspendableTimer { | 42 public SuspendableTimer { |
43 USING_GARBAGE_COLLECTED_MIXIN(DOMTimer); | 43 USING_GARBAGE_COLLECTED_MIXIN(DOMTimer); |
44 | 44 |
45 public: | 45 public: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 int timeout_id_; | 88 int timeout_id_; |
89 int nesting_level_; | 89 int nesting_level_; |
90 Member<ScheduledAction> action_; | 90 Member<ScheduledAction> action_; |
91 RefPtr<UserGestureToken> user_gesture_token_; | 91 RefPtr<UserGestureToken> user_gesture_token_; |
92 }; | 92 }; |
93 | 93 |
94 } // namespace blink | 94 } // namespace blink |
95 | 95 |
96 #endif // DOMTimer_h | 96 #endif // DOMTimer_h |
OLD | NEW |