Lines 345-350
Link Here
|
345 |
int[] mask = new int[] { |
345 |
int[] mask = new int[] { |
346 |
OS.kEventClassKeyboard, OS.kEventRawKeyDown, |
346 |
OS.kEventClassKeyboard, OS.kEventRawKeyDown, |
347 |
OS.kEventClassControl, OS.kEventControlDraw, |
347 |
OS.kEventClassControl, OS.kEventControlDraw, |
|
|
348 |
OS.kEventClassControl, OS.kEventControlSetCursor, |
348 |
OS.kEventClassTextInput, OS.kEventTextInputUnicodeForKeyEvent, |
349 |
OS.kEventClassTextInput, OS.kEventTextInputUnicodeForKeyEvent, |
349 |
}; |
350 |
}; |
350 |
int controlTarget = OS.GetControlEventTarget(webViewHandle); |
351 |
int controlTarget = OS.GetControlEventTarget(webViewHandle); |
Lines 719-724
Link Here
|
719 |
int handleCallback(int nextHandler, int theEvent) { |
720 |
int handleCallback(int nextHandler, int theEvent) { |
720 |
int eventKind = OS.GetEventKind(theEvent); |
721 |
int eventKind = OS.GetEventKind(theEvent); |
721 |
switch (eventKind) { |
722 |
switch (eventKind) { |
|
|
723 |
case OS.kEventControlSetCursor: { |
724 |
return OS.noErr; |
725 |
} |
722 |
case OS.kEventControlDraw: { |
726 |
case OS.kEventControlDraw: { |
723 |
/* |
727 |
/* |
724 |
* Bug on Safari. The web view cannot be obscured by other views above it. |
728 |
* Bug on Safari. The web view cannot be obscured by other views above it. |