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 #ifndef GeofencingRegion_h | |
6 #define GeofencingRegion_h | |
7 | |
8 #include "bindings/core/v8/ScriptWrappable.h" | |
9 #include "modules/ModulesExport.h" | |
10 #include "platform/heap/Handle.h" | |
11 #include "wtf/text/WTFString.h" | |
12 | |
13 namespace blink { | |
14 | |
15 class MODULES_EXPORT GeofencingRegion : public GarbageCollectedFinalized<Geofenc
ingRegion>, public ScriptWrappable { | |
16 DEFINE_WRAPPERTYPEINFO(); | |
17 WTF_MAKE_NONCOPYABLE(GeofencingRegion); | |
18 public: | |
19 virtual ~GeofencingRegion() { } | |
20 | |
21 String id() const { return m_id; } | |
22 | |
23 DEFINE_INLINE_VIRTUAL_TRACE() { } | |
24 | |
25 // For SpecialWrapFor | |
26 virtual bool isCircularGeofencingRegion() const { return false; } | |
27 | |
28 protected: | |
29 explicit GeofencingRegion(const String& id) : m_id(id) { } | |
30 | |
31 private: | |
32 String m_id; | |
33 }; | |
34 | |
35 } // namespace blink | |
36 | |
37 #endif // GeofencingRegion_h | |
OLD | NEW |