WebKitEfl draws transparent scrollbar on the top of contents using edje. This patch give a chance to support opaque scrollbar by edje.
Created attachment 218095 [details] Patch
Created attachment 218097 [details] Patch
Comment on attachment 218097 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=218097&action=review It looks this patch need to be verified if there is any layout test regression. > Source/WebCore/platform/efl/RenderThemeEfl.cpp:518 > + ScrollbarThemeEfl* scrollbarTheme = static_cast<ScrollbarThemeEfl*>(ScrollbarTheme::theme()); Don't we need to use local variable as below ? static_cast<ScrollbarThemeEfl*>(ScrollbarTheme::theme())->setScrollbarThickness(atoi(thickness)); > Source/WebCore/platform/efl/ScrollbarThemeEfl.h:39 > + virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar) { return m_scrollbarThickness; } Missing OVERRIDE FINAL keyword. > Source/WebCore/platform/efl/ScrollbarThemeEfl.h:41 > + virtual void registerScrollbar(ScrollbarThemeClient*) { } ditto. > Source/WebCore/platform/efl/ScrollbarThemeEfl.h:42 > + virtual void unregisterScrollbar(ScrollbarThemeClient*) { } ditto.
Created attachment 218103 [details] Patch
(In reply to comment #3) > (From update of attachment 218097 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=218097&action=review > > It looks this patch need to be verified if there is any layout test regression. > Because this does not change with default theme, it must be fine. > > Source/WebCore/platform/efl/RenderThemeEfl.cpp:518 > > + ScrollbarThemeEfl* scrollbarTheme = static_cast<ScrollbarThemeEfl*>(ScrollbarTheme::theme()); > > Don't we need to use local variable as below ? > static_cast<ScrollbarThemeEfl*>(ScrollbarTheme::theme())->setScrollbarThickness(atoi(thickness)); > Sure, fixed > > Source/WebCore/platform/efl/ScrollbarThemeEfl.h:39 > > + virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar) { return m_scrollbarThickness; } > > Missing OVERRIDE FINAL keyword. > > > Source/WebCore/platform/efl/ScrollbarThemeEfl.h:41 > > + virtual void registerScrollbar(ScrollbarThemeClient*) { } > > ditto. > > > Source/WebCore/platform/efl/ScrollbarThemeEfl.h:42 > > + virtual void unregisterScrollbar(ScrollbarThemeClient*) { } > > ditto. Sure, I did.
Comment on attachment 218103 [details] Patch LGTM.
Comment on attachment 218103 [details] Patch Clearing flags on attachment: 218103 Committed r159897: <http://trac.webkit.org/changeset/159897>
All reviewed patches have been landed. Closing bug.