diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/page/Navigator.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/page/Navigator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/page/Navigator.h b/src/3rdparty/webkit/WebCore/page/Navigator.h index 4adebe1..107082b 100644 --- a/src/3rdparty/webkit/WebCore/page/Navigator.h +++ b/src/3rdparty/webkit/WebCore/page/Navigator.h @@ -34,6 +34,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)); } @@ -60,6 +62,9 @@ namespace WebCore { 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; |