Title: [136186] trunk/Source/WebKit/chromium
Revision
136186
Author
[email protected]
Date
2012-11-29 17:02:12 -0800 (Thu, 29 Nov 2012)

Log Message

[chromium] Remove deprecated API since it is no longer used
https://bugs.webkit.org/show_bug.cgi?id=103570

Patch by Sadrul Habib Chowdhury <[email protected]> on 2012-11-29
Reviewed by Adam Barth.

Remove WebPluginContainer::setIsAcceptingTouchEvents, since this is not used anymore,
in favour of WebPluginContainer::requestTouchEventType.

* public/WebPluginContainer.h:
(WebPluginContainer):
* src/WebPluginContainerImpl.cpp:
* src/WebPluginContainerImpl.h:
(WebPluginContainerImpl):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (136185 => 136186)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-11-30 00:48:59 UTC (rev 136185)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-11-30 01:02:12 UTC (rev 136186)
@@ -1,3 +1,19 @@
+2012-11-29  Sadrul Habib Chowdhury  <[email protected]>
+
+        [chromium] Remove deprecated API since it is no longer used
+        https://bugs.webkit.org/show_bug.cgi?id=103570
+
+        Reviewed by Adam Barth.
+
+        Remove WebPluginContainer::setIsAcceptingTouchEvents, since this is not used anymore,
+        in favour of WebPluginContainer::requestTouchEventType.
+
+        * public/WebPluginContainer.h:
+        (WebPluginContainer):
+        * src/WebPluginContainerImpl.cpp:
+        * src/WebPluginContainerImpl.h:
+        (WebPluginContainerImpl):
+
 2012-11-29  Sheriff Bot  <[email protected]>
 
         Unreviewed.  Rolled DEPS.

Modified: trunk/Source/WebKit/chromium/public/WebPluginContainer.h (136185 => 136186)


--- trunk/Source/WebKit/chromium/public/WebPluginContainer.h	2012-11-30 00:48:59 UTC (rev 136185)
+++ trunk/Source/WebKit/chromium/public/WebPluginContainer.h	2012-11-30 01:02:12 UTC (rev 136186)
@@ -117,9 +117,6 @@
     // content. The rectangle is in the plugin's coordinate system.
     virtual bool isRectTopmost(const WebRect&) = 0;
 
-    // Notifies when the plugin starts/stops accepting touch events. This is deprecated, use requestTouchEventType instead.
-    virtual void setIsAcceptingTouchEvents(bool) = 0;
-
     // Notifies when the plugin changes the kind of touch-events it accepts.
     virtual void requestTouchEventType(TouchEventRequestType) = 0;
 

Modified: trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.cpp (136185 => 136186)


--- trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.cpp	2012-11-30 00:48:59 UTC (rev 136185)
+++ trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.cpp	2012-11-30 01:02:12 UTC (rev 136186)
@@ -521,11 +521,6 @@
     return (nodes.first().get() == m_element);
 }
 
-void WebPluginContainerImpl::setIsAcceptingTouchEvents(bool acceptingTouchEvents)
-{
-    requestTouchEventType(acceptingTouchEvents ? TouchEventRequestTypeRaw : TouchEventRequestTypeNone);
-}
-
 void WebPluginContainerImpl::requestTouchEventType(TouchEventRequestType requestType)
 {
     if (m_touchEventRequestType == requestType)

Modified: trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.h (136185 => 136186)


--- trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.h	2012-11-30 00:48:59 UTC (rev 136185)
+++ trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.h	2012-11-30 01:02:12 UTC (rev 136186)
@@ -113,7 +113,6 @@
     virtual void zoomLevelChanged(double zoomLevel);    
     virtual void setOpaque(bool);
     virtual bool isRectTopmost(const WebRect&);
-    virtual void setIsAcceptingTouchEvents(bool);
     virtual void requestTouchEventType(TouchEventRequestType);
     virtual void setWantsWheelEvents(bool);
     virtual WebPoint windowToLocalPoint(const WebPoint&);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to