| 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 49b41dca21cc7ed1d2809c6fd304a3da47d6f645..c0c6b362aaa48e16a6f413fde79b56dddf915ce1 100644
|
| --- a/ui/views/cocoa/bridged_content_view.h
|
| +++ b/ui/views/cocoa/bridged_content_view.h
|
| @@ -16,9 +16,16 @@ class TextInputClient;
|
| }
|
|
|
| namespace views {
|
| +
|
| class View;
|
| +
|
| +// User data supplied in kCGEventSourceUserData for an event that should be
|
| +// ignored.
|
| +enum { kIgnoreEventUserData = 1 };
|
| +
|
| }
|
|
|
| +
|
| // 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.
|
| @@ -38,6 +45,8 @@ class View;
|
| // Whether the view is reacting to a keyDown event on the view.
|
| BOOL inKeyDown_;
|
|
|
| + BOOL ignoreMouseEvents_;
|
| +
|
| // The last tooltip text, used to limit updates.
|
| base::string16 lastTooltipText_;
|
|
|
| @@ -47,6 +56,7 @@ class View;
|
|
|
| @property(readonly, nonatomic) views::View* hostedView;
|
| @property(assign, nonatomic) ui::TextInputClient* textInputClient;
|
| +@property(assign, nonatomic) BOOL ignoreMouseEvents;
|
|
|
| // Extends an atomic, readonly property on NSView to make it assignable.
|
| // This usually returns YES if the view is transparent. We want to control it
|
|
|