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:
Marshall Greenblatt 2012-04-20 18:47:47 +00:00
parent fdbabb4378
commit ecec216eb9
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}