| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 public NavigatorOnLine, | 42 public NavigatorOnLine, |
| 43 public ScriptWrappable, | 43 public ScriptWrappable, |
| 44 public DOMWindowClient, | 44 public DOMWindowClient, |
| 45 public Supplementable<Navigator> { | 45 public Supplementable<Navigator> { |
| 46 DEFINE_WRAPPERTYPEINFO(); | 46 DEFINE_WRAPPERTYPEINFO(); |
| 47 USING_GARBAGE_COLLECTED_MIXIN(Navigator); | 47 USING_GARBAGE_COLLECTED_MIXIN(Navigator); |
| 48 | 48 |
| 49 public: | 49 public: |
| 50 static Navigator* create(LocalFrame* frame) { return new Navigator(frame); } | 50 static Navigator* create(LocalFrame* frame) { return new Navigator(frame); } |
| 51 | 51 |
| 52 // NavigatorCookies |
| 52 bool cookieEnabled() const; | 53 bool cookieEnabled() const; |
| 53 | 54 |
| 54 String productSub() const; | 55 String productSub() const; |
| 55 String vendor() const; | 56 String vendor() const; |
| 56 String vendorSub() const; | 57 String vendorSub() const; |
| 57 | 58 |
| 58 String userAgent() const override; | 59 String userAgent() const override; |
| 59 | 60 |
| 60 // NavigatorLanguage | 61 // NavigatorLanguage |
| 61 Vector<String> languages() override; | 62 Vector<String> languages() override; |
| 62 | 63 |
| 63 DECLARE_VIRTUAL_TRACE(); | 64 DECLARE_VIRTUAL_TRACE(); |
| 64 | 65 |
| 65 private: | 66 private: |
| 66 explicit Navigator(LocalFrame*); | 67 explicit Navigator(LocalFrame*); |
| 67 }; | 68 }; |
| 68 | 69 |
| 69 } // namespace blink | 70 } // namespace blink |
| 70 | 71 |
| 71 #endif // Navigator_h | 72 #endif // Navigator_h |
| OLD | NEW |