Title: [260070] trunk/Source/WebCore
- Revision
- 260070
- Author
- [email protected]
- Date
- 2020-04-14 05:17:42 -0700 (Tue, 14 Apr 2020)
Log Message
[GTK] New scrollbar click behavior
https://bugs.webkit.org/show_bug.cgi?id=210002
Reviewed by Adrian Perez de Castro.
Use the same bahavior for mouse events when not rendering native scrollbars.
* platform/gtk/ScrollbarThemeGtk.cpp:
(WebCore::ScrollbarThemeGtk::handleMousePressEvent):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (260069 => 260070)
--- trunk/Source/WebCore/ChangeLog 2020-04-14 11:37:40 UTC (rev 260069)
+++ trunk/Source/WebCore/ChangeLog 2020-04-14 12:17:42 UTC (rev 260070)
@@ -1,3 +1,15 @@
+2020-04-14 Carlos Garcia Campos <[email protected]>
+
+ [GTK] New scrollbar click behavior
+ https://bugs.webkit.org/show_bug.cgi?id=210002
+
+ Reviewed by Adrian Perez de Castro.
+
+ Use the same bahavior for mouse events when not rendering native scrollbars.
+
+ * platform/gtk/ScrollbarThemeGtk.cpp:
+ (WebCore::ScrollbarThemeGtk::handleMousePressEvent):
+
2020-04-14 Antti Koivisto <[email protected]>
[CSS Selectors] Selectors Level 4 specificity calculation for pseudo classes
Modified: trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp (260069 => 260070)
--- trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp 2020-04-14 11:37:40 UTC (rev 260069)
+++ trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp 2020-04-14 12:17:42 UTC (rev 260070)
@@ -489,11 +489,8 @@
return true;
}
-ScrollbarButtonPressAction ScrollbarThemeGtk::handleMousePressEvent(Scrollbar& scrollbar, const PlatformMouseEvent& event, ScrollbarPart pressedPart)
+ScrollbarButtonPressAction ScrollbarThemeGtk::handleMousePressEvent(Scrollbar&, const PlatformMouseEvent& event, ScrollbarPart pressedPart)
{
- if (!m_useSystemAppearance)
- return ScrollbarThemeAdwaita::handleMousePressEvent(scrollbar, event, pressedPart);
-
gboolean warpSlider = FALSE;
switch (pressedPart) {
case BackTrackPart:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes