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

Side by Side Diff: third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.h

Issue 1866663002: Remove unnecessary includes from dom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ScriptedIdleTaskController_h 5 #ifndef ScriptedIdleTaskController_h
6 #define ScriptedIdleTaskController_h 6 #define ScriptedIdleTaskController_h
7 7
8 #include "core/dom/ActiveDOMObject.h" 8 #include "core/dom/ActiveDOMObject.h"
9 #include "core/dom/IdleDeadline.h" 9 #include "core/dom/IdleDeadline.h"
10 #include "platform/Timer.h" 10 #include "platform/Timer.h"
11 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
12 #include "wtf/RefCounted.h"
13 #include "wtf/RefPtr.h"
14 #include "wtf/Vector.h" 12 #include "wtf/Vector.h"
15 13
16 namespace blink { 14 namespace blink {
17 15
18 class ExecutionContext; 16 class ExecutionContext;
19 class IdleRequestCallback; 17 class IdleRequestCallback;
20 class IdleRequestOptions; 18 class IdleRequestOptions;
21 19
22 class ScriptedIdleTaskController : public GarbageCollectedFinalized<ScriptedIdle TaskController>, public ActiveDOMObject { 20 class ScriptedIdleTaskController : public GarbageCollectedFinalized<ScriptedIdle TaskController>, public ActiveDOMObject {
23 USING_GARBAGE_COLLECTED_MIXIN(ScriptedIdleTaskController); 21 USING_GARBAGE_COLLECTED_MIXIN(ScriptedIdleTaskController);
(...skipping 26 matching lines...) Expand all
50 WebScheduler* m_scheduler; // Not owned. 48 WebScheduler* m_scheduler; // Not owned.
51 HeapHashMap<CallbackId, Member<IdleRequestCallback>> m_callbacks; 49 HeapHashMap<CallbackId, Member<IdleRequestCallback>> m_callbacks;
52 Vector<CallbackId> m_pendingTimeouts; 50 Vector<CallbackId> m_pendingTimeouts;
53 CallbackId m_nextCallbackId; 51 CallbackId m_nextCallbackId;
54 bool m_suspended; 52 bool m_suspended;
55 }; 53 };
56 54
57 } // namespace blink 55 } // namespace blink
58 56
59 #endif // ScriptedIdleTaskController_h 57 #endif // ScriptedIdleTaskController_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptedAnimationController.h ('k') | third_party/WebKit/Source/core/dom/StaticNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698