Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: Source/core/frame/Navigator.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | Source/core/frame/Screen.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | Source/core/frame/Screen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698