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);
|
||||
}
|
||||
|
||||
- (void)flagsChanged:(NSEvent *)theEvent {
|
||||
if (browser_ && browser_->UIT_GetWebView())
|
||||
browser_->UIT_GetWebViewHost()->KeyEvent(theEvent);
|
||||
}
|
||||
|
||||
- (BOOL)isOpaque {
|
||||
return YES;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue