Merge revision 598 changes:

- Mac: Add flagsChanged: signal handler so that modifier keys are correctly passed to JS (issue #574).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/963@599 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-04-20 18:49:43 +00:00
parent 82390e4676
commit dacb86d363
1 changed files with 5 additions and 0 deletions

View File

@ -149,6 +149,11 @@
browser_->UIT_GetWebViewHost()->KeyEvent(theEvent);
}
- (void)flagsChanged:(NSEvent *)theEvent {
if (browser_ && browser_->UIT_GetWebView())
browser_->UIT_GetWebViewHost()->KeyEvent(theEvent);
}
- (BOOL)isOpaque {
return YES;
}