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 27 matching lines...) Expand all Loading... |
38 #include "Settings.h" | 38 #include "Settings.h" |
39 #include "StorageNamespace.h" | 39 #include "StorageNamespace.h" |
40 #include <wtf/HashSet.h> | 40 #include <wtf/HashSet.h> |
41 #include <wtf/StdLibExtras.h> | 41 #include <wtf/StdLibExtras.h> |
42 | 42 |
43 namespace WebCore { | 43 namespace WebCore { |
44 | 44 |
45 Navigator::Navigator(Frame* frame) | 45 Navigator::Navigator(Frame* frame) |
46 : DOMWindowProperty(frame) | 46 : DOMWindowProperty(frame) |
47 { | 47 { |
| 48 ScriptWrappable::init(this); |
48 } | 49 } |
49 | 50 |
50 Navigator::~Navigator() | 51 Navigator::~Navigator() |
51 { | 52 { |
52 } | 53 } |
53 | 54 |
54 // If this function returns true, we need to hide the substring "4." that would
otherwise | 55 // If this function returns true, we need to hide the substring "4." that would
otherwise |
55 // appear in the appVersion string. This is to avoid problems with old versions
of a | 56 // appear in the appVersion string. This is to avoid problems with old versions
of a |
56 // library called OpenCube QuickMenu, which as of this writing is still being us
ed on | 57 // library called OpenCube QuickMenu, which as of this writing is still being us
ed on |
57 // sites such as nwa.com -- the library thinks Safari is Netscape 4 if we don't
do this! | 58 // sites such as nwa.com -- the library thinks Safari is Netscape 4 if we don't
do this! |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 132 |
132 return true; | 133 return true; |
133 } | 134 } |
134 | 135 |
135 void Navigator::getStorageUpdates() | 136 void Navigator::getStorageUpdates() |
136 { | 137 { |
137 // FIXME: Remove this method or rename to yieldForStorageUpdates. | 138 // FIXME: Remove this method or rename to yieldForStorageUpdates. |
138 } | 139 } |
139 | 140 |
140 } // namespace WebCore | 141 } // namespace WebCore |
OLD | NEW |