Index: ui/views/cocoa/bridged_content_view.h |
diff --git a/ui/views/cocoa/bridged_content_view.h b/ui/views/cocoa/bridged_content_view.h |
index 9f6fbb505661a5a84985412dbe16f3958c7957e7..eb2e8eff050a8e507855926bfdded201996cbb2f 100644 |
--- a/ui/views/cocoa/bridged_content_view.h |
+++ b/ui/views/cocoa/bridged_content_view.h |
@@ -7,6 +7,7 @@ |
#import <Cocoa/Cocoa.h> |
+#import "base/mac/scoped_nsobject.h" |
#include "base/strings/string16.h" |
#import "ui/base/cocoa/tool_tip_base_view.h" |
#import "ui/base/cocoa/tracking_area.h" |
@@ -35,8 +36,8 @@ class View; |
// A tracking area installed to enable mouseMoved events. |
ui::ScopedCrTrackingArea cursorTrackingArea_; |
- // Whether the view is reacting to a keyDown event on the view. |
- BOOL inKeyDown_; |
+ // A keyDown event on the view that it is currently processing. |
+ base::scoped_nsobject<NSEvent> inKeyDown_; |
// The last tooltip text, used to limit updates. |
base::string16 lastTooltipText_; |