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" | 5 #include "config.h" |
6 #include "modules/device_light/DeviceLightEvent.h" | 6 #include "modules/device_light/DeviceLightEvent.h" |
7 | 7 |
8 namespace WebCore { | 8 namespace blink { |
9 | 9 |
10 DeviceLightEvent::~DeviceLightEvent() | 10 DeviceLightEvent::~DeviceLightEvent() |
11 { | 11 { |
12 } | 12 } |
13 | 13 |
14 DeviceLightEvent::DeviceLightEvent() | 14 DeviceLightEvent::DeviceLightEvent() |
15 : m_value(std::numeric_limits<double>::infinity()) | 15 : m_value(std::numeric_limits<double>::infinity()) |
16 { | 16 { |
17 ScriptWrappable::init(this); | 17 ScriptWrappable::init(this); |
18 } | 18 } |
(...skipping 10 matching lines...) Expand all Loading... |
29 , m_value(initializer.value) | 29 , m_value(initializer.value) |
30 { | 30 { |
31 ScriptWrappable::init(this); | 31 ScriptWrappable::init(this); |
32 } | 32 } |
33 | 33 |
34 const AtomicString& DeviceLightEvent::interfaceName() const | 34 const AtomicString& DeviceLightEvent::interfaceName() const |
35 { | 35 { |
36 return EventNames::DeviceLightEvent; | 36 return EventNames::DeviceLightEvent; |
37 } | 37 } |
38 | 38 |
39 } // namespace WebCore | 39 } // namespace blink |
40 | 40 |
41 | 41 |
42 | 42 |
43 | 43 |
OLD | NEW |