mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-26 08:58:18 +01:00
Mac: Add flagsChanged: signal handler so that modifier keys are correctly passed to JS (issue #574).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@598 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
fdbabb4378
commit
ecec216eb9
@ -150,6 +150,11 @@
|
|||||||
browser_->UIT_GetWebViewHost()->KeyEvent(theEvent);
|
browser_->UIT_GetWebViewHost()->KeyEvent(theEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)flagsChanged:(NSEvent *)theEvent {
|
||||||
|
if (browser_ && browser_->UIT_GetWebView())
|
||||||
|
browser_->UIT_GetWebViewHost()->KeyEvent(theEvent);
|
||||||
|
}
|
||||||
|
|
||||||
- (BOOL)isOpaque {
|
- (BOOL)isOpaque {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user