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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/modules/battery/BatteryDispatcher.cpp ('k') | Source/modules/battery/BatteryManager.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "core/dom/ContextLifecycleObserver.h" 10 #include "core/dom/ContextLifecycleObserver.h"
11 #include "core/frame/DeviceEventControllerBase.h" 11 #include "core/frame/DeviceEventControllerBase.h"
12 #include "modules/EventTargetModules.h" 12 #include "modules/EventTargetModules.h"
13 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 14
15 namespace WebCore { 15 namespace blink {
16 16
17 class BatteryStatus; 17 class BatteryStatus;
18 18
19 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 {
20 REFCOUNTED_EVENT_TARGET(BatteryManager); 20 REFCOUNTED_EVENT_TARGET(BatteryManager);
21 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BatteryManager); 21 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BatteryManager);
22 public: 22 public:
23 virtual ~BatteryManager(); 23 virtual ~BatteryManager();
24 static PassRefPtrWillBeRawPtr<BatteryManager> create(ExecutionContext*); 24 static PassRefPtrWillBeRawPtr<BatteryManager> create(ExecutionContext*);
25 25
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 explicit BatteryManager(ExecutionContext*); 64 explicit BatteryManager(ExecutionContext*);
65 65
66 RefPtr<ScriptPromiseResolver> m_resolver; 66 RefPtr<ScriptPromiseResolver> m_resolver;
67 RefPtrWillBeMember<BatteryStatus> m_batteryStatus; 67 RefPtrWillBeMember<BatteryStatus> m_batteryStatus;
68 State m_state; 68 State m_state;
69 }; 69 };
70 70
71 } 71 }
72 72
73 #endif // BatteryManager_h 73 #endif // BatteryManager_h
OLDNEW
« no previous file with comments | « Source/modules/battery/BatteryDispatcher.cpp ('k') | Source/modules/battery/BatteryManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698