Title: [175790] trunk/Source/WebKit2
Revision
175790
Author
[email protected]
Date
2014-11-09 02:12:14 -0800 (Sun, 09 Nov 2014)

Log Message

Move _ignoresNonWheelMouseEvents implementation to WKView(Private)
https://bugs.webkit.org/show_bug.cgi?id=138487

Patch by Conrad Shultz <[email protected]> on 2014-11-09
Reviewed by Dan Bernstein.

Relocate some methods that should have been in a category implementation.

* UIProcess/API/mac/WKView.mm:
(-[WKView _setIgnoresNonWheelMouseEvents:]):
(-[WKView _ignoresNonWheelMouseEvents]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (175789 => 175790)


--- trunk/Source/WebKit2/ChangeLog	2014-11-09 06:32:47 UTC (rev 175789)
+++ trunk/Source/WebKit2/ChangeLog	2014-11-09 10:12:14 UTC (rev 175790)
@@ -1,3 +1,16 @@
+2014-11-09  Conrad Shultz  <[email protected]>
+
+        Move _ignoresNonWheelMouseEvents implementation to WKView(Private)
+        https://bugs.webkit.org/show_bug.cgi?id=138487
+
+        Reviewed by Dan Bernstein.
+
+        Relocate some methods that should have been in a category implementation.
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView _setIgnoresNonWheelMouseEvents:]):
+        (-[WKView _ignoresNonWheelMouseEvents]):
+
 2014-11-08  Beth Dakin  <[email protected]>
 
         WKActionMenuController methods should be more careful to use the best 

Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (175789 => 175790)


--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-11-09 06:32:47 UTC (rev 175789)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-11-09 10:12:14 UTC (rev 175790)
@@ -1109,16 +1109,6 @@
     return _data->_ignoresNonWheelMouseEvents;
 }
 
-- (void)_setIgnoresNonWheelMouseEvents:(BOOL)ignoresNonWheelMouseEvents
-{
-    _data->_ignoresNonWheelMouseEvents = ignoresNonWheelMouseEvents;
-}
-
-- (BOOL)_ignoresNonWheelMouseEvents
-{
-    return _data->_ignoresNonWheelMouseEvents;
-}
-
 - (BOOL)_shouldIgnoreWheelEvents
 {
 #if WK_API_ENABLED
@@ -3986,6 +3976,16 @@
     return _data->_allowsBackForwardNavigationGestures;
 }
 
+- (void)_setIgnoresNonWheelMouseEvents:(BOOL)ignoresNonWheelMouseEvents
+{
+    _data->_ignoresNonWheelMouseEvents = ignoresNonWheelMouseEvents;
+}
+
+- (BOOL)_ignoresNonWheelMouseEvents
+{
+    return _data->_ignoresNonWheelMouseEvents;
+}
+
 - (void)_dispatchSetTopContentInset
 {
     if (!_data->_didScheduleSetTopContentInset)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to