OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "modules/geofencing/GeofencingEvent.h" | |
6 | |
7 namespace blink { | |
8 | |
9 GeofencingEvent::GeofencingEvent() | |
10 { | |
11 } | |
12 | |
13 GeofencingEvent::GeofencingEvent(const AtomicString& type, const String& id, Geo
fencingRegion* region) | |
14 : Event(type, /*canBubble=*/false, /*cancelable=*/false) | |
15 , m_id(id) | |
16 , m_region(region) | |
17 { | |
18 } | |
19 | |
20 GeofencingEvent::~GeofencingEvent() | |
21 { | |
22 } | |
23 | |
24 DEFINE_TRACE(GeofencingEvent) | |
25 { | |
26 visitor->trace(m_region); | |
27 Event::trace(visitor); | |
28 } | |
29 | |
30 const AtomicString& GeofencingEvent::interfaceName() const | |
31 { | |
32 return EventNames::GeofencingEvent; | |
33 } | |
34 | |
35 } // namespace blink | |
OLD | NEW |