Changeset 88754 in webkit


Ignore:
Timestamp:
Jun 13, 2011 7:27:53 PM (13 years ago)
Author:
joone.hur@collabora.co.uk
Message:

2011-06-13 Joone Hur <joone.hur@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Add configure option to enable/disable register protocol handler
https://bugs.webkit.org/show_bug.cgi?id=62534

This patch just adds configure option to enable/disable register protocol handler.
So, it needs more code to use register protocol handler.

  • configure.ac: Add configure option to enable/disable register protocol handler.

2011-06-13 Joone Hur <joone.hur@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Add configure option to enable/disable register protocol handler
https://bugs.webkit.org/show_bug.cgi?id=62534

  • GNUmakefile.am: Add ENABLE_REGISTER_PROTOCOL_HANDLER.

2011-06-13 Joone Hur <joone.hur@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Add configure option to enable/disable register protocol handler
https://bugs.webkit.org/show_bug.cgi?id=62534

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::registerProtocolHandler): Added.
  • WebCoreSupport/ChromeClientGtk.h: Add the registerProtocolHandler method defintion.
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r88720 r88754  
     12011-06-13  Joone Hur  <joone.hur@collabora.co.uk>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [GTK] Add configure option to enable/disable register protocol handler
     6        https://bugs.webkit.org/show_bug.cgi?id=62534
     7
     8        This patch just adds configure option to enable/disable register protocol handler.
     9        So, it needs more code to use register protocol handler.
     10
     11        * configure.ac: Add configure option to enable/disable register protocol handler.
     12
    1132011-06-13  Joone Hur  <joone.hur@collabora.co.uk>
    214
  • trunk/Source/WebCore/ChangeLog

    r88753 r88754  
     12011-06-13  Joone Hur  <joone.hur@collabora.co.uk>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [GTK] Add configure option to enable/disable register protocol handler
     6        https://bugs.webkit.org/show_bug.cgi?id=62534
     7
     8        * GNUmakefile.am: Add ENABLE_REGISTER_PROTOCOL_HANDLER.
     9
    1102011-06-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    211
  • trunk/Source/WebCore/GNUmakefile.am

    r88674 r88754  
    576576endif  # END ENABLE_MHTML
    577577
     578# ---
     579# Register Protocol Handler support
     580# ---
     581if ENABLE_REGISTER_PROTOCOL_HANDLER
     582FEATURE_DEFINES += ENABLE_REGISTER_PROTOCOL_HANDLER=1
     583webcore_cppflags += -DENABLE_REGISTER_PROTOCOL_HANDLER=1
     584endif  # END ENABLE_REGISTER_PROTOCOL_HANDLER
    578585
    579586DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h
  • trunk/Source/WebKit/gtk/ChangeLog

    r88734 r88754  
     12011-06-13  Joone Hur  <joone.hur@collabora.co.uk>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [GTK] Add configure option to enable/disable register protocol handler
     6        https://bugs.webkit.org/show_bug.cgi?id=62534
     7
     8        * WebCoreSupport/ChromeClientGtk.cpp:
     9        (WebKit::ChromeClient::registerProtocolHandler): Added.
     10        * WebCoreSupport/ChromeClientGtk.h: Add the registerProtocolHandler method defintion.
     11
    1122011-06-13  Martin Robinson  <mrobinson@igalia.com>
    213
  • trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp

    r87623 r88754  
    376376}
    377377
     378#if ENABLE(REGISTER_PROTOCOL_HANDLER)
     379void ChromeClient::registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title)
     380{
     381    notImplemented();
     382}
     383#endif
     384
    378385void ChromeClient::invalidateWindow(const IntRect&, bool immediate)
    379386{
  • trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h

    r86584 r88754  
    9797
    9898        virtual WebCore::IntRect windowResizerRect() const;
    99 
     99#if ENABLE(REGISTER_PROTOCOL_HANDLER)
     100        virtual void registerProtocolHandler(const WTF::String&, const WTF::String&, const WTF::String&, const WTF::String&);
     101#endif
    100102        virtual void invalidateWindow(const WebCore::IntRect&, bool);
    101103        virtual void invalidateContentsAndWindow(const WebCore::IntRect&, bool);
  • trunk/configure.ac

    r88720 r88754  
    896896              [], [enable_touch_icon_loading="no"])
    897897AC_MSG_RESULT([$enable_touch_icon_loading])
     898
     899# check whether to enable Register Protocol Handler support
     900AC_MSG_CHECKING([whether to enable Register Protocol Handler])
     901AC_ARG_ENABLE(register_protocol_handler,
     902              AC_HELP_STRING([--enable-register-protocol-handler],
     903                             [enable support for Register Protocol Handler (experimental) [default=no]]),
     904              [],[enable_register_protocol_handler="no"])
     905AC_MSG_RESULT([$enable_register_protocol_handler])
    898906
    899907G_IR_SCANNER=
     
    11551163AM_CONDITIONAL([ENABLE_ANIMATION_API],[test "$enable_animation_api" = "yes"])
    11561164AM_CONDITIONAL([ENABLE_TOUCH_ICON_LOADING],[test "$enable_touch_icon_loading" = "yes"])
     1165AM_CONDITIONAL([ENABLE_REGISTER_PROTOCOL_HANDLER],[test "$enable_register_protocol_handler" = "yes"])
    11571166
    11581167# Gtk conditionals
     
    12521261 Animation API                                            : $enable_animation_api
    12531262 Touch Icon Loading support                               : $enable_touch_icon_loading
     1263 Register Protocol Handler support                        : $enable_register_protocol_handler
    12541264
    12551265GTK+ configuration:
Note: See TracChangeset for help on using the changeset viewer.