[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:28:49 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit adfe54f9136bbf254f3c2c0fa7945c363741385d
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Aug 1 21:09:10 2002 +0000

    	Fixed: 2970530 - Command keys are not getting passed in to plugins
    
            * Plugins.subproj/WebPluginView.m:
            (-[WebPluginView performKeyEquivalent:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1719 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 5043b21..692c7d9 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-01  Chris Blumenberg  <cblu at apple.com>
+
+	Fixed: 2970530 - Command keys are not getting passed in to plugins
+
+        * Plugins.subproj/WebPluginView.m:
+        (-[WebPluginView performKeyEquivalent:]):
+
 2002-08-01  Richard Williamson (Local)  <rjw at apple.com>
 
         More back/forward word.  Support for restoring scroll position.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 5043b21..692c7d9 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,10 @@
+2002-08-01  Chris Blumenberg  <cblu at apple.com>
+
+	Fixed: 2970530 - Command keys are not getting passed in to plugins
+
+        * Plugins.subproj/WebPluginView.m:
+        (-[WebPluginView performKeyEquivalent:]):
+
 2002-08-01  Richard Williamson (Local)  <rjw at apple.com>
 
         More back/forward word.  Support for restoring scroll position.
diff --git a/WebKit/Plugins.subproj/WebPluginView.m b/WebKit/Plugins.subproj/WebPluginView.m
index 266017c..e95797a 100644
--- a/WebKit/Plugins.subproj/WebPluginView.m
+++ b/WebKit/Plugins.subproj/WebPluginView.m
@@ -279,6 +279,26 @@
     }
 }
 
+- (BOOL)performKeyEquivalent:(NSEvent *)theEvent
+{
+    EventRecord event;
+    bool acceptedEvent;
+
+    [self getCarbonEvent:&event withEvent:theEvent];
+    event.what = keyDown;
+
+    if(event.message == 0){
+        event.message = [self keyMessageForEvent:theEvent];
+    }
+
+    acceptedEvent = NPP_HandleEvent(instance, &event);
+
+    WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(performKeyEquivalent): %d charCode:%c keyCode:%lu\n",
+                     acceptedEvent, (char) (event.message & charCodeMask), (event.message & keyCodeMask));
+    
+    return acceptedEvent;
+}
+
 // Must subclass menuForEvent: for right-click to work.
 - (NSMenu *)menuForEvent:(NSEvent *)theEvent
 {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list