]> git.pld-linux.org Git - packages/gtk-webkit4.git/blob - gtk-webkit4-npapi-remnants.patch
- updated to 2.32.0
[packages/gtk-webkit4.git] / gtk-webkit4-npapi-remnants.patch
1 --- webkitgtk-2.32.0/Source/WebKit/PluginProcess/PluginControllerProxy.h.orig   2021-02-26 10:57:15.000000000 +0100
2 +++ webkitgtk-2.32.0/Source/WebKit/PluginProcess/PluginControllerProxy.h        2021-03-28 11:40:29.813445533 +0200
3 @@ -110,11 +110,6 @@ private:
4      bool getAuthenticationInfo(const WebCore::ProtectionSpace&, String& username, String& password) override;
5      void protectPluginFromDestruction() override;
6      void unprotectPluginFromDestruction() override;
7 -#if PLATFORM(X11)
8 -    uint64_t createPluginContainer() override;
9 -    void windowedPluginGeometryDidChange(const WebCore::IntRect& frameRect, const WebCore::IntRect& clipRect, uint64_t windowID) override;
10 -    void windowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID) override;
11 -#endif
12      
13      // Message handlers.
14      void frameDidFinishLoading(uint64_t requestID);
15 --- webkitgtk-2.32.0/Source/WebKit/PluginProcess/PluginControllerProxy.cpp.orig 2021-02-26 10:57:15.000000000 +0100
16 +++ webkitgtk-2.32.0/Source/WebKit/PluginProcess/PluginControllerProxy.cpp      2021-03-28 11:41:02.849933225 +0200
17 @@ -651,25 +651,6 @@ void PluginControllerProxy::getFormValue
18      completionHandler(returnValue, WTFMove(formValue));
19  }
20  
21 -#if PLATFORM(X11)
22 -uint64_t PluginControllerProxy::createPluginContainer()
23 -{
24 -    uint64_t windowID = 0;
25 -    m_connection->connection()->sendSync(Messages::PluginProxy::CreatePluginContainer(), Messages::PluginProxy::CreatePluginContainer::Reply(windowID), m_pluginInstanceID);
26 -    return windowID;
27 -}
28 -
29 -void PluginControllerProxy::windowedPluginGeometryDidChange(const IntRect& frameRect, const IntRect& clipRect, uint64_t windowID)
30 -{
31 -    m_connection->connection()->send(Messages::PluginProxy::WindowedPluginGeometryDidChange(frameRect, clipRect, windowID), m_pluginInstanceID);
32 -}
33 -
34 -void PluginControllerProxy::windowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID)
35 -{
36 -    m_connection->connection()->send(Messages::PluginProxy::WindowedPluginVisibilityDidChange(isVisible, windowID), m_pluginInstanceID);
37 -}
38 -#endif
39 -
40  } // namespace WebKit
41  
42  #endif // ENABLE(NETSCAPE_PLUGIN_API)
This page took 0.077882 seconds and 3 git commands to generate.