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

Side by Side Diff: Source/modules/battery/BatteryManager.h

Issue 344813003: Include Document.h in fewer headers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
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 BatteryManager_h 5 #ifndef BatteryManager_h
6 #define BatteryManager_h 6 #define BatteryManager_h
7 7
8 #include "bindings/v8/ScriptPromise.h" 8 #include "bindings/v8/ScriptPromise.h"
9 #include "bindings/v8/ScriptPromiseResolverWithContext.h" 9 #include "bindings/v8/ScriptPromiseResolverWithContext.h"
10 #include "core/dom/ContextLifecycleObserver.h" 10 #include "core/dom/ContextLifecycleObserver.h"
11 #include "core/dom/Document.h"
12 #include "core/frame/DeviceEventControllerBase.h" 11 #include "core/frame/DeviceEventControllerBase.h"
13 #include "modules/EventTargetModules.h" 12 #include "modules/EventTargetModules.h"
14 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
15 14
16 namespace WebCore { 15 namespace WebCore {
17 16
18 class BatteryStatus; 17 class BatteryStatus;
19 18
20 class BatteryManager FINAL : public RefCountedWillBeRefCountedGarbageCollected<B atteryManager>, public ActiveDOMObject, public DeviceEventControllerBase, public EventTargetWithInlineData { 19 class BatteryManager FINAL : public RefCountedWillBeRefCountedGarbageCollected<B atteryManager>, public ActiveDOMObject, public DeviceEventControllerBase, public EventTargetWithInlineData {
21 REFCOUNTED_EVENT_TARGET(BatteryManager); 20 REFCOUNTED_EVENT_TARGET(BatteryManager);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 explicit BatteryManager(ExecutionContext*); 64 explicit BatteryManager(ExecutionContext*);
66 65
67 RefPtr<ScriptPromiseResolverWithContext> m_resolver; 66 RefPtr<ScriptPromiseResolverWithContext> m_resolver;
68 RefPtrWillBeMember<BatteryStatus> m_batteryStatus; 67 RefPtrWillBeMember<BatteryStatus> m_batteryStatus;
69 State m_state; 68 State m_state;
70 }; 69 };
71 70
72 } 71 }
73 72
74 #endif // BatteryManager_h 73 #endif // BatteryManager_h
OLDNEW
« no previous file with comments | « Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp ('k') | Source/modules/battery/BatteryManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698