diff options
Diffstat (limited to 'WebKit/mac/Plugins/WebNetscapePluginEventHandlerCocoa.h')
-rw-r--r-- | WebKit/mac/Plugins/WebNetscapePluginEventHandlerCocoa.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/WebKit/mac/Plugins/WebNetscapePluginEventHandlerCocoa.h b/WebKit/mac/Plugins/WebNetscapePluginEventHandlerCocoa.h index 4613fcd..3a2f03f 100644 --- a/WebKit/mac/Plugins/WebNetscapePluginEventHandlerCocoa.h +++ b/WebKit/mac/Plugins/WebNetscapePluginEventHandlerCocoa.h @@ -35,7 +35,7 @@ class WebNetscapePluginEventHandlerCocoa : public WebNetscapePluginEventHandler public: WebNetscapePluginEventHandlerCocoa(WebNetscapePluginView*); - virtual void drawRect(const NSRect&); + virtual void drawRect(CGContextRef, const NSRect&); virtual void mouseDown(NSEvent*); virtual void mouseDragged(NSEvent*); @@ -48,7 +48,8 @@ public: virtual void keyDown(NSEvent*); virtual void keyUp(NSEvent*); virtual void flagsChanged(NSEvent*); - + virtual void syntheticKeyDownWithCommandModifier(int keyCode, char character); + virtual void windowFocusChanged(bool hasFocus); virtual void focusChanged(bool hasFocus); |