| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SensorErrorEvent_h | 5 #ifndef SensorErrorEvent_h |
| 6 #define SensorErrorEvent_h | 6 #define SensorErrorEvent_h |
| 7 | 7 |
| 8 #include "core/dom/DOMException.h" | 8 #include "core/dom/DOMException.h" |
| 9 #include "modules/EventModules.h" | 9 #include "modules/EventModules.h" |
| 10 #include "modules/sensor/SensorErrorEventInit.h" | 10 #include "modules/sensor/SensorErrorEventInit.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 Member<DOMException> error_; | 42 Member<DOMException> error_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 DEFINE_TYPE_CASTS(SensorErrorEvent, | 45 DEFINE_TYPE_CASTS(SensorErrorEvent, |
| 46 Event, | 46 Event, |
| 47 event, | 47 event, |
| 48 event->InterfaceName() == EventNames::SensorErrorEvent, | 48 event->InterfaceName() == EventNames::SensorErrorEvent, |
| 49 event.InterfaceName() == EventNames::SensorErrorEvent); | 49 event.InterfaceName() == EventNames::SensorErrorEvent); |
| 50 | 50 |
| 51 } // namepsace blink | 51 } // namespace blink |
| 52 | 52 |
| 53 #endif // SensorErrorEvent_h | 53 #endif // SensorErrorEvent_h |
| OLD | NEW |