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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. 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.h ('k') | Source/core/frame/Screen.h » ('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) 2008 Nokia Corporation and/or its subsidiary(-ies) 2 Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
3 3
4 This library is free software; you can redistribute it and/or 4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public 5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either 6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version. 7 version 2 of the License, or (at your option) any later version.
8 8
9 This library is distributed in the hope that it will be useful, 9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 class Navigator FINAL 45 class Navigator FINAL
46 : public RefCountedWillBeGarbageCollectedFinalized<Navigator> 46 : public RefCountedWillBeGarbageCollectedFinalized<Navigator>
47 , public NavigatorCPU 47 , public NavigatorCPU
48 , public NavigatorID 48 , public NavigatorID
49 , public NavigatorLanguage 49 , public NavigatorLanguage
50 , public NavigatorOnLine 50 , public NavigatorOnLine
51 , public ScriptWrappable 51 , public ScriptWrappable
52 , public DOMWindowProperty 52 , public DOMWindowProperty
53 , public WillBeHeapSupplementable<Navigator> { 53 , public WillBeHeapSupplementable<Navigator> {
54 DEFINE_WRAPPERTYPEINFO();
54 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Navigator); 55 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Navigator);
55 public: 56 public:
56 static PassRefPtrWillBeRawPtr<Navigator> create(LocalFrame* frame) 57 static PassRefPtrWillBeRawPtr<Navigator> create(LocalFrame* frame)
57 { 58 {
58 return adoptRefWillBeNoop(new Navigator(frame)); 59 return adoptRefWillBeNoop(new Navigator(frame));
59 } 60 }
60 61
61 virtual ~Navigator(); 62 virtual ~Navigator();
62 63
63 DOMPluginArray* plugins() const; 64 DOMPluginArray* plugins() const;
(...skipping 15 matching lines...) Expand all
79 80
80 virtual void trace(Visitor*); 81 virtual void trace(Visitor*);
81 82
82 private: 83 private:
83 explicit Navigator(LocalFrame*); 84 explicit Navigator(LocalFrame*);
84 85
85 mutable RefPtrWillBeMember<DOMPluginArray> m_plugins; 86 mutable RefPtrWillBeMember<DOMPluginArray> m_plugins;
86 mutable RefPtrWillBeMember<DOMMimeTypeArray> m_mimeTypes; 87 mutable RefPtrWillBeMember<DOMMimeTypeArray> m_mimeTypes;
87 }; 88 };
88 89
89 } 90 } // namespace blink
90 91
91 #endif 92 #endif // Navigator_h
OLDNEW
« no previous file with comments | « Source/core/frame/Location.h ('k') | Source/core/frame/Screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698