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

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

Issue 1093103003: [cleanup, battery] Don't include unneeded headers. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tim's comments Created 3 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
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"
9 #include "bindings/core/v8/ScriptPromiseProperty.h" 8 #include "bindings/core/v8/ScriptPromiseProperty.h"
10 #include "core/dom/ContextLifecycleObserver.h" 9 #include "core/dom/ContextLifecycleObserver.h"
11 #include "core/dom/SuspendableObject.h" 10 #include "core/dom/SuspendableObject.h"
12 #include "core/frame/PlatformEventController.h" 11 #include "core/frame/PlatformEventController.h"
13 #include "modules/EventTargetModules.h" 12 #include "modules/EventTargetModules.h"
14 #include "modules/battery/battery_status.h" 13 #include "modules/battery/battery_status.h"
15 #include "platform/bindings/ActiveScriptWrappable.h" 14 #include "platform/bindings/ActiveScriptWrappable.h"
16 #include "platform/heap/Handle.h" 15 #include "platform/heap/Handle.h"
17 16
18 namespace blink { 17 namespace blink {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 using BatteryProperty = ScriptPromiseProperty<Member<BatteryManager>, 70 using BatteryProperty = ScriptPromiseProperty<Member<BatteryManager>,
72 Member<BatteryManager>, 71 Member<BatteryManager>,
73 Member<DOMException>>; 72 Member<DOMException>>;
74 Member<BatteryProperty> battery_property_; 73 Member<BatteryProperty> battery_property_;
75 BatteryStatus battery_status_; 74 BatteryStatus battery_status_;
76 }; 75 };
77 76
78 } // namespace blink 77 } // namespace blink
79 78
80 #endif // BatteryManager_h 79 #endif // BatteryManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698