Index: content/browser/renderer_host/render_widget_host_view_mac.mm |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm |
index e6581577d1f22571f38fbb7f9389d3307adafd7b..a76b1fa519f23b8da1c8f5c30c1600b5127de223 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -2013,6 +2013,7 @@ void RenderWidgetHostViewMac::OnDisplayMetricsChanged( |
} |
- (BOOL)performKeyEquivalent:(NSEvent*)theEvent { |
+ NSLog(@"performKeyEquivalent: %@", theEvent); |
// |performKeyEquivalent:| is sent to all views of a window, not only down the |
// responder chain (cf. "Handling Key Equivalents" in |
// http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/EventOverview/HandlingKeyEvents/HandlingKeyEvents.html |
@@ -2021,8 +2022,10 @@ void RenderWidgetHostViewMac::OnDisplayMetricsChanged( |
return NO; |
// If the event is reserved by the system, then do not pass it to web content. |
- if (EventIsReservedBySystem(theEvent)) |
+ if (EventIsReservedBySystem(theEvent)) { |
+ DLOG(INFO) << "BAIL! - it's reserved."; |
return NO; |
+ } |
// If we return |NO| from this function, cocoa will send the key event to |
// the menu and only if the menu does not process the event to |keyDown:|. We |