| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, 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 15 matching lines...) Expand all Loading... |
| 26 #ifndef Timer_h | 26 #ifndef Timer_h |
| 27 #define Timer_h | 27 #define Timer_h |
| 28 | 28 |
| 29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
| 30 #include "platform/TraceLocation.h" | 30 #include "platform/TraceLocation.h" |
| 31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "wtf/Noncopyable.h" | 32 #include "wtf/Noncopyable.h" |
| 33 #include "wtf/Threading.h" | 33 #include "wtf/Threading.h" |
| 34 #include "wtf/Vector.h" | 34 #include "wtf/Vector.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace blink { |
| 37 | 37 |
| 38 // Time intervals are all in seconds. | 38 // Time intervals are all in seconds. |
| 39 | 39 |
| 40 class TimerHeapElement; | 40 class TimerHeapElement; |
| 41 | 41 |
| 42 class PLATFORM_EXPORT TimerBase { | 42 class PLATFORM_EXPORT TimerBase { |
| 43 WTF_MAKE_NONCOPYABLE(TimerBase); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 43 WTF_MAKE_NONCOPYABLE(TimerBase); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 44 public: | 44 public: |
| 45 TimerBase(); | 45 TimerBase(); |
| 46 virtual ~TimerBase(); | 46 virtual ~TimerBase(); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 TimerFiredClass* m_object; | 189 TimerFiredClass* m_object; |
| 190 TimerFiredFunction m_function; | 190 TimerFiredFunction m_function; |
| 191 | 191 |
| 192 double m_delay; | 192 double m_delay; |
| 193 bool m_shouldRestartWhenTimerFires; | 193 bool m_shouldRestartWhenTimerFires; |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 } | 196 } |
| 197 | 197 |
| 198 #endif | 198 #endif |
| OLD | NEW |