Changeset 160909 in webkit


Ignore:
Timestamp:
Dec 20, 2013 6:58:40 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] The fullscreen API should be enabled by default
https://bugs.webkit.org/show_bug.cgi?id=125993

Patch by Enrique Ocaña González <eocanha@igalia.com> on 2013-12-20
Reviewed by Gustavo Noronha Silva.

Set the WebSettings property to TRUE

Source/WebKit/gtk:

  • webkit/webkitwebsettings.cpp:

(webkit_web_settings_class_init):

Source/WebKit2:

  • UIProcess/API/gtk/WebKitSettings.cpp:

(webkit_settings_class_init):

Location:
trunk/Source
Files:
4 edited

Legend:

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

    r160804 r160909  
     12013-12-20  Enrique Ocaña González  <eocanha@igalia.com>
     2
     3        [GTK] The fullscreen API should be enabled by default
     4        https://bugs.webkit.org/show_bug.cgi?id=125993
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Set the WebSettings property to TRUE
     9
     10        * webkit/webkitwebsettings.cpp:
     11        (webkit_web_settings_class_init):
     12
    1132013-12-16  Martin Robinson  <mrobinson@igalia.com>
    214
  • trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp

    r160434 r160909  
    827827                                                         flags));
    828828
    829     /* Undocumented for now */
    830     g_object_class_install_property(gobject_class,
    831                                     PROP_ENABLE_FULLSCREEN,
    832                                     g_param_spec_boolean("enable-fullscreen",
    833                                                          _("Enable Fullscreen"),
    834                                                          _("Whether the Mozilla style API should be enabled."),
    835                                                          FALSE,
    836                                                          flags));
     829    /**
     830    * WebKitWebSettings:enable-fullscreen:
     831    *
     832    *
     833    * Whether to enable the Javascript Fullscreen API. The API
     834    * allows any HTML element to request fullscreen display. See also
     835    * the current draft of the spec:
     836    * http://www.w3.org/TR/fullscreen/
     837    *
     838    * Since: 2.4
     839    */
     840    g_object_class_install_property(gobject_class,
     841        PROP_ENABLE_FULLSCREEN,
     842        g_param_spec_boolean("enable-fullscreen",
     843            _("Enable Fullscreen"),
     844            _("Whether to enable the Javascript Fullscreen API"),
     845            TRUE,
     846            flags));
     847
    837848    /**
    838849    * WebKitWebSettings:enable-webgl:
  • trunk/Source/WebKit2/ChangeLog

    r160904 r160909  
     12013-12-20  Enrique Ocaña González  <eocanha@igalia.com>
     2
     3        [GTK] The fullscreen API should be enabled by default
     4        https://bugs.webkit.org/show_bug.cgi?id=125993
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Set the WebSettings property to TRUE
     9
     10        * UIProcess/API/gtk/WebKitSettings.cpp:
     11        (webkit_settings_class_init):
     12
    1132013-12-20  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp

    r160434 r160909  
    899899     * allows any HTML element to request fullscreen display. See also
    900900     * the current draft of the spec:
    901      * http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
    902      */
    903     g_object_class_install_property(gObjectClass,
    904                                     PROP_ENABLE_FULLSCREEN,
    905                                     g_param_spec_boolean("enable-fullscreen",
    906                                                          _("Enable Fullscreen"),
    907                                                          _("Whether to enable the Javascriipt Fullscreen API"),
    908                                                          FALSE,
    909                                                          readWriteConstructParamFlags));
     901     * http://www.w3.org/TR/fullscreen/
     902     */
     903    g_object_class_install_property(gObjectClass,
     904        PROP_ENABLE_FULLSCREEN,
     905        g_param_spec_boolean("enable-fullscreen",
     906            _("Enable Fullscreen"),
     907            _("Whether to enable the Javascript Fullscreen API"),
     908            TRUE,
     909            readWriteConstructParamFlags));
    910910
    911911    /**
Note: See TracChangeset for help on using the changeset viewer.