diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-13 12:51:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | d441d6f39bb846989d95bcf5caf387b42414718d (patch) | |
tree | e367e64a75991c554930278175d403c072de6bb8 /Source/WebKit2/WebProcess/Plugins/PluginController.h | |
parent | 0060b2994c07842f4c59de64b5e3e430525c4b90 (diff) | |
download | qtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz |
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit.
Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/WebKit2/WebProcess/Plugins/PluginController.h')
-rw-r--r-- | Source/WebKit2/WebProcess/Plugins/PluginController.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/Source/WebKit2/WebProcess/Plugins/PluginController.h b/Source/WebKit2/WebProcess/Plugins/PluginController.h index 6682ba020..29dacb33d 100644 --- a/Source/WebKit2/WebProcess/Plugins/PluginController.h +++ b/Source/WebKit2/WebProcess/Plugins/PluginController.h @@ -45,10 +45,6 @@ namespace WebCore { namespace WebKit { -#if PLATFORM(WIN) -struct WindowGeometry; -#endif - class PluginController { public: // Returns false if the plugin has explicitly been hidden. Returns true otherwise (even if the plugin is currently obscured from view on screen.) @@ -101,15 +97,6 @@ public: // Tells the controller that we're about to dispatch an event to the plug-in. virtual void willSendEventToPlugin() = 0; -#if PLATFORM(WIN) - // The window to use as the parent of the plugin's window. - virtual HWND nativeParentWindow() = 0; - - // Tells the controller that the given HWND needs to be positioned and clipped to the given - // coordinates sometime soon. The controller will decide exactly when this will happen. - virtual void scheduleWindowedPluginGeometryUpdate(const WindowGeometry&) = 0; -#endif - #if PLATFORM(MAC) // Tells the controller that the plug-in focus or window focus did change. virtual void pluginFocusOrWindowFocusChanged(bool) = 0; @@ -119,6 +106,9 @@ public: // Returns the mach port of the compositing render server. virtual mach_port_t compositingRenderServerPort() = 0; + + // Open the preference pane for this plug-in (as stated in the plug-in's Info.plist). + virtual void openPluginPreferencePane() = 0; #endif // Returns the contents scale factor. |