OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Harri Porten (porten@kde.org) | 2 * Copyright (C) 2000 Harri Porten (porten@kde.org) |
3 * Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org) | 3 * Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org) |
4 * Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org) | 4 * Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org) |
5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. | 5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. |
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 10 matching lines...) Expand all Loading... |
21 */ | 21 */ |
22 | 22 |
23 #include "config.h" | 23 #include "config.h" |
24 #include "modules/geolocation/NavigatorGeolocation.h" | 24 #include "modules/geolocation/NavigatorGeolocation.h" |
25 | 25 |
26 #include "core/dom/Document.h" | 26 #include "core/dom/Document.h" |
27 #include "core/frame/LocalFrame.h" | 27 #include "core/frame/LocalFrame.h" |
28 #include "core/frame/Navigator.h" | 28 #include "core/frame/Navigator.h" |
29 #include "modules/geolocation/Geolocation.h" | 29 #include "modules/geolocation/Geolocation.h" |
30 | 30 |
31 namespace WebCore { | 31 namespace blink { |
32 | 32 |
33 NavigatorGeolocation::NavigatorGeolocation(LocalFrame* frame) | 33 NavigatorGeolocation::NavigatorGeolocation(LocalFrame* frame) |
34 : DOMWindowProperty(frame) | 34 : DOMWindowProperty(frame) |
35 { | 35 { |
36 } | 36 } |
37 | 37 |
38 NavigatorGeolocation::~NavigatorGeolocation() | 38 NavigatorGeolocation::~NavigatorGeolocation() |
39 { | 39 { |
40 } | 40 } |
41 | 41 |
(...skipping 23 matching lines...) Expand all Loading... |
65 m_geolocation = Geolocation::create(frame()->document()); | 65 m_geolocation = Geolocation::create(frame()->document()); |
66 return m_geolocation.get(); | 66 return m_geolocation.get(); |
67 } | 67 } |
68 | 68 |
69 void NavigatorGeolocation::trace(Visitor* visitor) | 69 void NavigatorGeolocation::trace(Visitor* visitor) |
70 { | 70 { |
71 visitor->trace(m_geolocation); | 71 visitor->trace(m_geolocation); |
72 WillBeHeapSupplement<Navigator>::trace(visitor); | 72 WillBeHeapSupplement<Navigator>::trace(visitor); |
73 } | 73 } |
74 | 74 |
75 } // namespace WebCore | 75 } // namespace blink |
OLD | NEW |