| Index: ui/views/cocoa/cocoa_mouse_capture_delegate.h
|
| diff --git a/ui/views/cocoa/cocoa_mouse_capture_delegate.h b/ui/views/cocoa/cocoa_mouse_capture_delegate.h
|
| index af362e048621e84221ae392fa3cb6d04dc86e187..9e6d2a0e4ea994d465a4e39ba08a27f8504cdc07 100644
|
| --- a/ui/views/cocoa/cocoa_mouse_capture_delegate.h
|
| +++ b/ui/views/cocoa/cocoa_mouse_capture_delegate.h
|
| @@ -6,6 +6,7 @@
|
| #define UI_VIEWS_COCOA_COCOA_MOUSE_CAPTURE_DELEGATE_H_
|
|
|
| @class NSEvent;
|
| +@class NSWindow;
|
|
|
| namespace views {
|
|
|
| @@ -20,6 +21,9 @@ class CocoaMouseCaptureDelegate {
|
| // Called once. When another window acquires capture, or when the
|
| // CocoaMouseCapture is destroyed.
|
| virtual void OnMouseCaptureLost() = 0;
|
| +
|
| + // Returns the associated NSWindow.
|
| + virtual NSWindow* GetWindow() const = 0;
|
| };
|
|
|
| } // namespace views
|
|
|