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 969af9975a1997862949dffe3a31086e7527e380..4c7f776744c6b9da4d6dba5accd5f4320039ed43 100644 |
| --- a/ui/views/cocoa/bridged_content_view.h |
| +++ b/ui/views/cocoa/bridged_content_view.h |
| @@ -40,11 +40,18 @@ class View; |
| // The last tooltip text, used to limit updates. |
| base::string16 lastTooltipText_; |
| + |
| + // Whether dragging on the view moves the window. |
| + BOOL mouseDownCanMoveWindow_; |
| } |
| @property(readonly, nonatomic) views::View* hostedView; |
| @property(assign, nonatomic) ui::TextInputClient* textInputClient; |
| +// This usually returns YES if the view is transparent. We want to control it |
| +// so that BridgedNativeWidget can dynamically enable dragging of the window. |
| +@property(assign) BOOL mouseDownCanMoveWindow; |
|
tapted
2015/06/03 07:04:50
nonatomic?
jackhou1
2015/06/03 08:13:52
Done.
I removed it because it wouldn't build on 1
tapted
2015/06/03 09:12:57
Ah. Interesting. I think we are trying to keep 10.
jackhou1
2015/06/03 09:32:47
Done.
|
| + |
| // Initialize the NSView -> views::View bridge. |viewToHost| must be non-NULL. |
| - (id)initWithView:(views::View*)viewToHost; |