summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2008-01-23 14:24:34 +0000
committerGrant Gayed <ggayed>2008-01-23 14:24:34 +0000
commite7487a66ba35314844b49a72217d65697c59e1b3 (patch)
tree7538386a30943689db6b7a897b86d53423c54633 /bundles/org.eclipse.swt/Eclipse SWT PI
parentec27379a70b953a54b175a11955c25b57dd0532b (diff)
downloadeclipse.platform.swt-e7487a66ba35314844b49a72217d65697c59e1b3.tar.gz
eclipse.platform.swt-e7487a66ba35314844b49a72217d65697c59e1b3.tar.xz
eclipse.platform.swt-e7487a66ba35314844b49a72217d65697c59e1b3.zip
133933 (Safari key events)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c7
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java16
2 files changed, 22 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c
index 75a7f561a4..5522ce6b1d 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c
@@ -258,5 +258,12 @@ fail:
proc((int)download, user_data, 29, (int)download, (int)filename, 0, 0);
}
+/* DOMEventListener */
+
+- (void)handleEvent:(DOMEvent *)evt
+{
+ proc((int)evt, user_data, 32, (int)evt, 0, 0, 0);
+}
+
@end
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java
index 6495e2b5e3..9b25514045 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java
@@ -142,7 +142,21 @@ public static final int S_elementCount = Cocoa.sel_registerName("elementCount");
public static final int S_elementAtIndex_associatedPoints = Cocoa.sel_registerName("elementAtIndex:associatedPoints:"); //$NON-NLS-1$
public static final int S_setFlatness = Cocoa.sel_registerName("setFlatness:"); //$NON-NLS-1$
public static final int S_setDefaultFlatness = Cocoa.sel_registerName("setDefaultFlatness:"); //$NON-NLS-1$
-public static final int S_convertRect_toView = Cocoa.sel_registerName("convertRect:toView:"); //$NON-NLS-1$
+public static final int S_convertRect_toView = Cocoa.sel_registerName("convertRect:toView:"); //$NON-N/LS-1$
+public static final int S_addEventListenerListenerUseCapture = Cocoa.sel_registerName("addEventListener:listener:useCapture:"); //$NON-NLS-1$
+public static final int S_altKey = Cocoa.sel_registerName("altKey"); //$NON-NLS-1$
+public static final int S_button = Cocoa.sel_registerName("button"); //$NON-NLS-1$
+public static final int S_charCode = Cocoa.sel_registerName("charCode"); //$NON-NLS-1$
+public static final int S_clientX = Cocoa.sel_registerName("clientX"); //$NON-NLS-1$
+public static final int S_clientY = Cocoa.sel_registerName("clientY"); //$NON-NLS-1$
+public static final int S_ctrlKey = Cocoa.sel_registerName("ctrlKey"); //$NON-NLS-1$
+public static final int S_detail = Cocoa.sel_registerName("detail"); //$NON-NLS-1$
+public static final int S_DOMDocument = Cocoa.sel_registerName("DOMDocument"); //$NON-NLS-1$
+public static final int S_keyCode = Cocoa.sel_registerName("keyCode"); //$NON-NLS-1$
+public static final int S_metaKey = Cocoa.sel_registerName("metaKey"); //$NON-NLS-1$
+public static final int S_relatedTarget = Cocoa.sel_registerName("relatedTarget"); //$NON-NLS-1$;
+public static final int S_shiftKey = Cocoa.sel_registerName("shiftKey"); //$NON-NLS-1$
+public static final int S_type = Cocoa.sel_registerName("type"); //$NON-NLS-1$
public static final int NSAlphaFirstBitmapFormat = 1 << 0;
public static final int NSAlphaNonpremultipliedBitmapFormat = 1 << 1;