Changeset 143736 in webkit


Ignore:
Timestamp:
Feb 22, 2013, 8:51:50 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Remove ProtocolHandler methods from ChromeClientBlackBerry
https://bugs.webkit.org/show_bug.cgi?id=110567

Patch by Carlos Garcia Campos <cargarcia@rim.com> on 2013-02-22
Reviewed by Rob Buis.

They were removed from ChromeClient in r122810 and are now
implemented in NavigatorContentUtilsClientBlackBerry since r131056.

  • WebCoreSupport/ChromeClientBlackBerry.cpp:
  • WebCoreSupport/ChromeClientBlackBerry.h:

(ChromeClientBlackBerry):

Location:
trunk/Source/WebKit/blackberry
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r143697 r143736  
     12013-02-22  Carlos Garcia Campos  <cargarcia@rim.com>
     2
     3        [BlackBerry] Remove ProtocolHandler methods from ChromeClientBlackBerry
     4        https://bugs.webkit.org/show_bug.cgi?id=110567
     5
     6        Reviewed by Rob Buis.
     7
     8        They were removed from ChromeClient in r122810 and are now
     9        implemented in NavigatorContentUtilsClientBlackBerry since r131056.
     10
     11        * WebCoreSupport/ChromeClientBlackBerry.cpp:
     12        * WebCoreSupport/ChromeClientBlackBerry.h:
     13        (ChromeClientBlackBerry):
     14
    1152013-02-22  Xan Lopez  <xlopez@rim.com>
    216
  • trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp

    r143611 r143736  
    824824}
    825825
    826 #if ENABLE(NAVIGATOR_CONTENT_UTILS)
    827 void ChromeClientBlackBerry::registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title)
    828 {
    829     m_webPagePrivate->m_client->registerProtocolHandler(scheme, baseURL, url, title);
    830 }
    831 
    832 #if ENABLE(CUSTOM_SCHEME_HANDLER)
    833 ChromeClient::CustomHandlersState ChromeClientBlackBerry::isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url)
    834 {
    835     return static_cast<CustomHandlersState>(m_webPagePrivate->m_client->isProtocolHandlerRegistered(scheme, baseURL, url));
    836 }
    837 
    838 void ChromeClientBlackBerry::unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& url)
    839 {
    840     m_webPagePrivate->m_client->unregisterProtocolHandler(scheme, baseURL, url);
    841 }
    842 #endif
    843 #endif
    844 
    845826void ChromeClientBlackBerry::addSearchProvider(const BlackBerry::Platform::String& originURL, const BlackBerry::Platform::String& newURL)
    846827{
  • trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h

    r139078 r143736  
    152152#endif
    153153
    154 #if ENABLE(NAVIGATOR_CONTENT_UTILS)
    155     virtual void registerProtocolHandler(const String& /*scheme*/, const String& /*baseURL*/, const String& /*url*/, const String& /*title*/);
    156 
    157 #if ENABLE(CUSTOM_SCHEME_HANDLER)
    158     virtual CustomHandlersState isProtocolHandlerRegistered(const String& /*scheme*/, const String& /*baseURL*/, const String& /*url*/);
    159     virtual void unregisterProtocolHandler(const String& /*scheme*/, const String& /*baseURL*/, const String& /*url*/);
    160 #endif
    161 #endif
    162 
    163154    virtual void addSearchProvider(const BlackBerry::Platform::String&, const BlackBerry::Platform::String&);
    164155    virtual int isSearchProviderInstalled(const BlackBerry::Platform::String&, const BlackBerry::Platform::String&);
Note: See TracChangeset for help on using the changeset viewer.