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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 #ifndef WEBCORE_NAVIGATOR_VENDOR_SUB | 48 #ifndef WEBCORE_NAVIGATOR_VENDOR_SUB |
49 #define WEBCORE_NAVIGATOR_VENDOR_SUB "" | 49 #define WEBCORE_NAVIGATOR_VENDOR_SUB "" |
50 #endif // ifndef WEBCORE_NAVIGATOR_VENDOR_SUB | 50 #endif // ifndef WEBCORE_NAVIGATOR_VENDOR_SUB |
51 | 51 |
52 namespace blink { | 52 namespace blink { |
53 | 53 |
54 Navigator::Navigator(LocalFrame* frame) | 54 Navigator::Navigator(LocalFrame* frame) |
55 : DOMWindowProperty(frame) | 55 : DOMWindowProperty(frame) |
56 { | 56 { |
57 ScriptWrappable::init(this); | |
58 } | 57 } |
59 | 58 |
60 Navigator::~Navigator() | 59 Navigator::~Navigator() |
61 { | 60 { |
62 } | 61 } |
63 | 62 |
64 String Navigator::productSub() const | 63 String Navigator::productSub() const |
65 { | 64 { |
66 return WEBCORE_NAVIGATOR_PRODUCT_SUB; | 65 return WEBCORE_NAVIGATOR_PRODUCT_SUB; |
67 } | 66 } |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 152 } |
154 | 153 |
155 void Navigator::trace(Visitor* visitor) | 154 void Navigator::trace(Visitor* visitor) |
156 { | 155 { |
157 visitor->trace(m_plugins); | 156 visitor->trace(m_plugins); |
158 visitor->trace(m_mimeTypes); | 157 visitor->trace(m_mimeTypes); |
159 WillBeHeapSupplementable<Navigator>::trace(visitor); | 158 WillBeHeapSupplementable<Navigator>::trace(visitor); |
160 } | 159 } |
161 | 160 |
162 } // namespace blink | 161 } // namespace blink |
OLD | NEW |