Chromium Code Reviews| 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 f4b6a867cd7c56da72d142f05aa21551bf6a6cc8..6b175c21da666251f500e50c9e16a8f765301566 100644 |
| --- a/ui/views/cocoa/bridged_content_view.h |
| +++ b/ui/views/cocoa/bridged_content_view.h |
| @@ -17,6 +17,11 @@ 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 |
| @@ -38,6 +43,8 @@ class View; |
| // Whether the view is reacting to a keyDown event on the view. |
| BOOL inKeyDown_; |
| + BOOL ignoreMouseEvents_; |
|
tapted
2016/03/10 11:51:19
needs a comment
themblsha
2016/03/25 17:22:54
Done. This local instance property wasn't used at
|
| + |
| // The last tooltip text, used to limit updates. |
| base::string16 lastTooltipText_; |
| @@ -54,6 +61,7 @@ class View; |
| @property(readonly, nonatomic) views::View* hostedView; |
| @property(assign, nonatomic) ui::TextInputClient* textInputClient; |
| +@property(assign, nonatomic) BOOL ignoreMouseEvents; |
| @property(assign, nonatomic) BOOL drawMenuBackgroundForBlur; |
| // Extends an atomic, readonly property on NSView to make it assignable. |