summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/base_view.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/base_view.mm')
-rw-r--r--chrome/browser/cocoa/base_view.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/base_view.mm b/chrome/browser/cocoa/base_view.mm
index 5d4d563..e5ed3a2 100644
--- a/chrome/browser/cocoa/base_view.mm
+++ b/chrome/browser/cocoa/base_view.mm
@@ -92,6 +92,10 @@
[self keyEvent:theEvent];
}
+- (void)flagsChanged:(NSEvent *)theEvent {
+ [self keyEvent:theEvent];
+}
+
- (gfx::Rect)NSRectToRect:(NSRect)rect {
gfx::Rect new_rect(NSRectToCGRect(rect));
new_rect.set_y([self bounds].size.height - new_rect.y() - new_rect.height());