Chromium Code Reviews| Index: ui/views/widget/native_widget_mac.mm |
| diff --git a/ui/views/widget/native_widget_mac.mm b/ui/views/widget/native_widget_mac.mm |
| index 8050abe94f08fe16982cf983f44e2b62c248ab7b..eca39288062e0879223f1fe06ce9f511a40c14f2 100644 |
| --- a/ui/views/widget/native_widget_mac.mm |
| +++ b/ui/views/widget/native_widget_mac.mm |
| @@ -20,6 +20,7 @@ |
| #include "ui/native_theme/native_theme_mac.h" |
| #import "ui/views/cocoa/bridged_content_view.h" |
| #import "ui/views/cocoa/bridged_native_widget.h" |
| +#include "ui/views/cocoa/cocoa_mouse_capture.h" |
| #import "ui/views/cocoa/drag_drop_client_mac.h" |
| #import "ui/views/cocoa/native_widget_mac_nswindow.h" |
| #import "ui/views/cocoa/views_nswindow_delegate.h" |
| @@ -725,8 +726,7 @@ gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { |
| // static |
| gfx::NativeView NativeWidgetPrivate::GetGlobalCapture( |
| gfx::NativeView native_view) { |
|
karandeepb
2016/06/24 06:07:19
It seems strange that this accepts a |native_view|
|
| - NOTIMPLEMENTED(); |
| - return nullptr; |
| + return [CocoaMouseCapture::GetGlobalCaptureWindow() contentView]; |
| } |
| } // namespace internal |