| OLD | NEW |
| 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 #include "config.h" | |
| 6 #include "modules/battery/BatteryManager.h" | 5 #include "modules/battery/BatteryManager.h" |
| 7 | 6 |
| 8 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 9 #include "core/events/Event.h" | 8 #include "core/events/Event.h" |
| 10 #include "modules/battery/BatteryDispatcher.h" | 9 #include "modules/battery/BatteryDispatcher.h" |
| 11 #include "modules/battery/BatteryStatus.h" | 10 #include "modules/battery/BatteryStatus.h" |
| 12 | 11 |
| 13 namespace blink { | 12 namespace blink { |
| 14 | 13 |
| 15 BatteryManager* BatteryManager::create(ExecutionContext* context) | 14 BatteryManager* BatteryManager::create(ExecutionContext* context) |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 DEFINE_TRACE(BatteryManager) | 142 DEFINE_TRACE(BatteryManager) |
| 144 { | 143 { |
| 145 visitor->trace(m_batteryProperty); | 144 visitor->trace(m_batteryProperty); |
| 146 visitor->trace(m_batteryStatus); | 145 visitor->trace(m_batteryStatus); |
| 147 PlatformEventController::trace(visitor); | 146 PlatformEventController::trace(visitor); |
| 148 RefCountedGarbageCollectedEventTargetWithInlineData<BatteryManager>::trace(v
isitor); | 147 RefCountedGarbageCollectedEventTargetWithInlineData<BatteryManager>::trace(v
isitor); |
| 149 ActiveDOMObject::trace(visitor); | 148 ActiveDOMObject::trace(visitor); |
| 150 } | 149 } |
| 151 | 150 |
| 152 } // namespace blink | 151 } // namespace blink |
| OLD | NEW |