diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
| commit | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch) | |
| tree | 988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/WebKit2/PluginProcess/PluginControllerProxy.h | |
| parent | dd91e772430dc294e3bf478c119ef8d43c0a3358 (diff) | |
| download | qtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz | |
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/WebKit2/PluginProcess/PluginControllerProxy.h')
| -rw-r--r-- | Source/WebKit2/PluginProcess/PluginControllerProxy.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Source/WebKit2/PluginProcess/PluginControllerProxy.h b/Source/WebKit2/PluginProcess/PluginControllerProxy.h index e860925c1..7022fd0c9 100644 --- a/Source/WebKit2/PluginProcess/PluginControllerProxy.h +++ b/Source/WebKit2/PluginProcess/PluginControllerProxy.h @@ -84,7 +84,6 @@ private: virtual NPObject* windowScriptNPObject(); virtual NPObject* pluginElementNPObject(); virtual bool evaluate(NPObject*, const String& scriptString, NPVariant* result, bool allowPopups); - virtual bool tryToShortCircuitInvoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, bool& returnValue, NPVariant& result); virtual void setStatusbarText(const String&); virtual bool isAcceleratedCompositingEnabled(); virtual void pluginProcessCrashed(); @@ -104,6 +103,10 @@ private: virtual bool getAuthenticationInfo(const WebCore::ProtectionSpace&, String& username, String& password); virtual void protectPluginFromDestruction(); virtual void unprotectPluginFromDestruction(); +#if PLUGIN_ARCHITECTURE(X11) + virtual uint64_t createPluginContainer(); + virtual void windowedPluginGeometryDidChange(const WebCore::IntRect& frameRect, const WebCore::IntRect& clipRect, uint64_t windowID); +#endif // Message handlers. void frameDidFinishLoading(uint64_t requestID); @@ -134,16 +137,15 @@ private: void windowAndViewFramesChanged(const WebCore::IntRect& windowFrameInScreenCoordinates, const WebCore::IntRect& viewFrameInWindowCoordinates); void windowVisibilityChanged(bool); void sendComplexTextInput(const String& textInput); + void setLayerHostingMode(uint32_t); + + void updateLayerHostingContext(LayerHostingMode); #endif void privateBrowsingStateChanged(bool); void getFormValue(bool& returnValue, String& formValue); - bool tryToShortCircuitEvaluate(NPObject*, const String& scriptString, NPVariant* result); - - bool inInitialize() const { return m_pluginCreationParameters; } - - void platformInitialize(); + void platformInitialize(const PluginCreationParameters&); void platformDestroy(); void platformGeometryDidChange(); @@ -171,9 +173,6 @@ private: // code is on the stack. WebCore::RunLoop::Timer<PluginControllerProxy> m_pluginDestroyTimer; - // Will point to the plug-in creation parameters of the plug-in we're currently initializing and will be null when we're done initializing. - const PluginCreationParameters* m_pluginCreationParameters; - // Whether we're waiting for the plug-in proxy in the web process to draw the contents of its // backing store into the web process backing store. bool m_waitingForDidUpdate; |
