Index: ui/views/cocoa/views_nswindow_delegate.h |
diff --git a/ui/views/cocoa/views_nswindow_delegate.h b/ui/views/cocoa/views_nswindow_delegate.h |
index dc0b2016b21ecfdf3918d53ecae46460735f56e6..7dc64b662366a1cd4dafa54627f7bcc339e2f133 100644 |
--- a/ui/views/cocoa/views_nswindow_delegate.h |
+++ b/ui/views/cocoa/views_nswindow_delegate.h |
@@ -59,6 +59,13 @@ VIEWS_EXPORT |
- (void)windowDidFailToEnterFullScreen:(NSWindow*)window; |
- (void)windowDidFailToExitFullScreen:(NSWindow*)window; |
+// Called when the application receives a mouse-down, but before the event |
+// is processed by NSWindows. Returns NO if the event should be processed as-is, |
+// or YES if the event should be reposted to handle window dragging. Events are |
+// reposted at the CGSessionEventTap level because window dragging happens there |
+// before the application receives the event. |
+- (BOOL)shouldRepostPendingLeftMouseDown:(NSPoint)locationInWindow; |
+ |
@end |
#endif // UI_VIEWS_COCOA_VIEWS_NSWINDOW_DELEGATE_H_ |