Index: ui/views/cocoa/bridged_native_widget.h |
diff --git a/ui/views/cocoa/bridged_native_widget.h b/ui/views/cocoa/bridged_native_widget.h |
index e4df8e78faa70618d410ebea6d4e33daf9923193..a9e4a0886fd7094ad97c2ce132673bc0627894cd 100644 |
--- a/ui/views/cocoa/bridged_native_widget.h |
+++ b/ui/views/cocoa/bridged_native_widget.h |
@@ -17,6 +17,7 @@ |
#include "ui/compositor/layer_owner.h" |
#import "ui/views/cocoa/bridged_native_widget_owner.h" |
#import "ui/views/cocoa/cocoa_mouse_capture_delegate.h" |
+#import "ui/views/cocoa/cocoa_drag_drop_manager.h" |
#import "ui/views/focus/focus_manager.h" |
#include "ui/views/views_export.h" |
#include "ui/views/widget/widget.h" |
@@ -171,6 +172,8 @@ class VIEWS_EXPORT BridgedNativeWidget |
TooltipManager* tooltip_manager() { return tooltip_manager_.get(); } |
+ CocoaDragDropManager* drag_drop_manager() { return drag_drop_manager_.get(); } |
+ |
// The parent widget specified in Widget::InitParams::parent. If non-null, the |
// parent will close children before the parent closes, and children will be |
// raised above their parent when window z-order changes. |
@@ -263,6 +266,7 @@ class VIEWS_EXPORT BridgedNativeWidget |
std::unique_ptr<ui::InputMethod> input_method_; |
std::unique_ptr<CocoaMouseCapture> mouse_capture_; |
std::unique_ptr<TooltipManager> tooltip_manager_; |
+ std::unique_ptr<CocoaDragDropManager> drag_drop_manager_; |
FocusManager* focus_manager_; // Weak. Owned by our Widget. |
Widget::InitParams::Type widget_type_; |