OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |