diff options
Diffstat (limited to 'WebCore/page/Navigator.h')
| -rw-r--r-- | WebCore/page/Navigator.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/WebCore/page/Navigator.h b/WebCore/page/Navigator.h index d50721e..9967fba 100644 --- a/WebCore/page/Navigator.h +++ b/WebCore/page/Navigator.h @@ -27,6 +27,9 @@ namespace WebCore { +#if PLATFORM(ANDROID) + class Connection; +#endif class Frame; class Geolocation; class MimeTypeArray; @@ -34,6 +37,8 @@ namespace WebCore { class PluginArray; class String; + typedef int ExceptionCode; + class Navigator : public NavigatorBase, public RefCounted<Navigator> { public: static PassRefPtr<Navigator> create(Frame* frame) { return adoptRef(new Navigator(frame)); } @@ -55,12 +60,27 @@ namespace WebCore { // This is used for GC marking. Geolocation* optionalGeolocation() const { return m_geolocation.get(); } +#if PLATFORM(ANDROID) + Connection* connection() const; +#endif + +#if ENABLE(DOM_STORAGE) + // Relinquishes the storage lock, if one exists. + void getStorageUpdates(); +#endif + + void registerProtocolHandler(const String& scheme, const String& url, const String& title, ExceptionCode& ec); + void registerContentHandler(const String& mimeType, const String& url, const String& title, ExceptionCode& ec); + private: Navigator(Frame*); Frame* m_frame; mutable RefPtr<PluginArray> m_plugins; mutable RefPtr<MimeTypeArray> m_mimeTypes; mutable RefPtr<Geolocation> m_geolocation; +#if PLATFORM(ANDROID) + mutable RefPtr<Connection> m_connection; +#endif }; } |
