Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: sky/engine/platform/Timer.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 20 matching lines...) Expand all
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 blink { 36 namespace blink {
37 37
38 // Time intervals are all in seconds. 38 // Time intervals are all in seconds.
39 39
40 class PLATFORM_EXPORT TimerBase { 40 class PLATFORM_EXPORT TimerBase {
41 WTF_MAKE_NONCOPYABLE(TimerBase); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 41 WTF_MAKE_NONCOPYABLE(TimerBase); WTF_MAKE_FAST_ALLOCATED;
42 public: 42 public:
43 TimerBase(); 43 TimerBase();
44 virtual ~TimerBase(); 44 virtual ~TimerBase();
45 45
46 void start(double nextFireInterval, double repeatInterval, const tracked_obj ects::Location&); 46 void start(double nextFireInterval, double repeatInterval, const tracked_obj ects::Location&);
47 47
48 void startRepeating(double repeatInterval, const tracked_objects::Location& caller) 48 void startRepeating(double repeatInterval, const tracked_objects::Location& caller)
49 { 49 {
50 start(repeatInterval, repeatInterval, caller); 50 start(repeatInterval, repeatInterval, caller);
51 } 51 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 TimerFiredClass* m_object; 181 TimerFiredClass* m_object;
182 TimerFiredFunction m_function; 182 TimerFiredFunction m_function;
183 183
184 double m_delay; 184 double m_delay;
185 bool m_shouldRestartWhenTimerFires; 185 bool m_shouldRestartWhenTimerFires;
186 }; 186 };
187 187
188 } 188 }
189 189
190 #endif 190 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/testing/NullExecutionContext.h ('k') | sky/engine/platform/graphics/gpu/Extensions3DUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698