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 7eeb4a1ce2bb51518c8ae95ae00130de1dc8b3b0..caee7a1184cd476c0c4514b2a57892e84cc5745a 100644 |
--- a/ui/views/cocoa/bridged_content_view.h |
+++ b/ui/views/cocoa/bridged_content_view.h |
@@ -20,7 +20,8 @@ class View; |
// The NSView that sits as the root contentView of the NSWindow, whilst it has |
// a views::RootView present. Bridges requests from Cocoa to the hosted |
// views::View. |
-@interface BridgedContentView : NSView<NSTextInputClient> { |
+@interface BridgedContentView : NSView<NSTextInputClient, |
+ NSUserInterfaceValidations> { |
@private |
// Weak. The hosted RootView, owned by hostedView_->GetWidget(). |
views::View* hostedView_; |
@@ -31,6 +32,9 @@ class View; |
// A tracking area installed to enable mouseMoved events. |
ui::ScopedCrTrackingArea trackingArea_; |
+ |
+ // Whether the view is reacting to a keyDown event on the view. |
+ BOOL inKeyDown_; |
} |
@property(readonly, nonatomic) views::View* hostedView; |