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/1025@599 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-04-20 18:49:43 +00:00
parent af17a1a12d
commit 77a340ec9c
1 changed files with 5 additions and 0 deletions

View File

@ -149,6 +149,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;
} }