summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webplugin_delegate.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-08 00:59:16 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-08 00:59:16 +0000
commitade384bc898c7a0f9be03a85a149a642c9145422 (patch)
tree1205bdf9a61b329b59ceabf0f4e6bac03afe8c79 /webkit/glue/webplugin_delegate.h
parent50af843f23d644ae7f2b5b9ffbd2d721a639907d (diff)
downloadchromium_src-ade384bc898c7a0f9be03a85a149a642c9145422.zip
chromium_src-ade384bc898c7a0f9be03a85a149a642c9145422.tar.gz
chromium_src-ade384bc898c7a0f9be03a85a149a642c9145422.tar.bz2
Some trivial style cleanup in the plugin delegate. There was one function
implemented in both the mac-specific file and the shared one, and several virtual functiongs that were never derived for anything. BUG=none TEST=none Review URL: http://codereview.chromium.org/267017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_delegate.h')
-rw-r--r--webkit/glue/webplugin_delegate.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/glue/webplugin_delegate.h b/webkit/glue/webplugin_delegate.h
index e56157b..db9df41 100644
--- a/webkit/glue/webplugin_delegate.h
+++ b/webkit/glue/webplugin_delegate.h
@@ -70,11 +70,13 @@ class WebPluginDelegate {
// Tells the plugin to print itself.
virtual void Print(gfx::NativeDrawingContext hdc) = 0;
- // Informs the plugin that it now has focus.
+ // Informs the plugin that it now has focus. This is only called in
+ // windowless mode.
virtual void SetFocus() = 0;
// For windowless plugins, gives them a user event like mouse/keyboard.
- // Returns whether the event was handled.
+ // Returns whether the event was handled. This is only called in windowsless
+ // mode. See NPAPI NPP_HandleEvent for more information.
virtual bool HandleInputEvent(const WebKit::WebInputEvent& event,
WebKit::WebCursorInfo* cursor) = 0;