NavigatorContentUtilsClientBlackBerry.h [plain text]
#ifndef NavigatorContentUtilsClientBlackBerry_h
#define NavigatorContentUtilsClientBlackBerry_h
#if ENABLE(NAVIGATOR_CONTENT_UTILS)
#include "NavigatorContentUtilsClient.h"
namespace BlackBerry {
namespace WebKit {
class WebPagePrivate;
}
}
namespace WebCore {
class NavigatorContentUtilsClientBlackBerry : public WebCore::NavigatorContentUtilsClient {
public:
explicit NavigatorContentUtilsClientBlackBerry(BlackBerry::WebKit::WebPagePrivate*);
~NavigatorContentUtilsClientBlackBerry() { }
virtual void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title);
#if ENABLE(CUSTOM_SCHEME_HANDLER)
virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url);
virtual void unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& url);
#endif
private:
BlackBerry::WebKit::WebPagePrivate* m_webPagePrivate;
};
}
#endif
#endif // NavigatorContentUtilsClientBlackBerry_h