-
kov@webkit.org authored
Reviewed by Holger Freyther. https://bugs.webkit.org/show_bug.cgi?id=25889 [GTK] scrollbar policy for main frame is not implementable Adding files for the new test for window-related issues (starting with scrollbar policy). * GNUmakefile.am: WebCore 2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> Reviewed by Holger Freyther. https://bugs.webkit.org/show_bug.cgi?id=25889 [GTK] scrollbar policy for main frame is not implementable Override setScrollbarModes to correctly forward scrollbar modes policy changes to client code, via a new platform-specific method, scrollbarsPolicyDidChange. * page/ChromeClient.h: (WebCore::ChromeClient::scrollbarsPolicyDidChange): * platform/ScrollView.cpp: (WebCore::ScrollView::createScrollbar): * platform/ScrollView.h: * platform/gtk/ScrollViewGtk.cpp: (WebCore::ScrollView::setScrollbarModes): WebKit/gtk 2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> Reviewed by Holger Freyther. https://bugs.webkit.org/show_bug.cgi?id=25889 [GTK] scrollbar policy for main frame is not implementable Add properties and a signal to report scrollbar policy changes to client code, and a default handler that does the right thing when using GtkScrolledWindow. * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::scrollbarsModeDidChange): * WebCoreSupport/ChromeClientGtk.h: * webkit/webkitwebframe.cpp: (webkit_web_frame_get_property): (webkit_web_frame_class_init): (webkit_web_frame_get_horizontal_scrollbar_policy): (webkit_web_frame_get_vertical_scrollbar_policy): * webkit/webkitwebframe.h: * tests/testwindow.c: Added. (load_finished_cb): (test_webkit_window_scrollbar_policy): (main): WebKit/* Added empty implementation of new ChromeClient method. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6f367913