[Webkit-unassigned] [Bug 30482] [GTK] Expose Page::tabKeyCyclesThroughElements in the API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 17 15:02:40 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30482
Jan Alonzo <jmalonzo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #41363|review? |review-
Flag| |
--- Comment #2 from Jan Alonzo <jmalonzo at gmail.com> 2009-10-17 15:02:40 PDT ---
(From update of attachment 41363)
> diff --git a/WebKit/gtk/webkit/webkitwebview.cpp b/WebKit/gtk/webkit/webkitwebview.cpp
> index fb2bf35..db9fff3 100644
> --- a/WebKit/gtk/webkit/webkitwebview.cpp
> +++ b/WebKit/gtk/webkit/webkitwebview.cpp
> @@ -170,7 +170,8 @@ enum {
> PROP_LOAD_STATUS,
> PROP_PROGRESS,
> PROP_ENCODING,
> - PROP_CUSTOM_ENCODING
> + PROP_CUSTOM_ENCODING,
> + PROP_TAB_KEY_CYCLES_THROUGH_ELEMENTS
I think this property should be in WebSettings. Thoughts?
> + case PROP_TAB_KEY_CYCLES_THROUGH_ELEMENTS:
> + g_value_set_boolean(value, webkit_web_view_get_tab_key_cycles_through_elements(webView));
> + break;
Ditto with the tab key cycle changes in the WebView.
> diff --git a/WebKit/gtk/webkit/webkitwebview.h b/WebKit/gtk/webkit/webkitwebview.h
> index 1297695..52915f2 100644
> --- a/WebKit/gtk/webkit/webkitwebview.h
> +++ b/WebKit/gtk/webkit/webkitwebview.h
> @@ -131,241 +131,249 @@ struct _WebKitWebViewClass {
> };
>
> WEBKIT_API GType
> -webkit_web_view_get_type (void);
> +webkit_web_view_get_type (void);
>
> WEBKIT_API GtkWidget *
> -webkit_web_view_new (void);
> +webkit_web_view_new (void);
>
> WEBKIT_API G_CONST_RETURN gchar *
> -webkit_web_view_get_title (WebKitWebView *web_view);
> +webkit_web_view_get_title (WebKitWebView *web_view);
>
> WEBKIT_API G_CONST_RETURN gchar *
> -webkit_web_view_get_uri (WebKitWebView *web_view);
> +webkit_web_view_get_uri (WebKitWebView *web_view);
>
Thanks for fixing the formatting but I think they should be in a separate
patch.
> void LayoutTestController::setTabKeyCyclesThroughElements(bool cycles)
> {
> - // FIXME: implement
> + WebKitWebView* webView = webkit_web_frame_get_web_view(mainFrame);
> + webkit_web_view_set_tab_key_cycles_through_elements(webView, cycles);
Ditto. The setting should be in WebSettings.
r=- for now.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list