Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1127)

Unified Diff: ui/views/cocoa/bridged_native_widget.h

Issue 1964283002: MacViews: Implemented Drag & Drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix for dcheng Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1b2607cf94d146acef27a193d419b849d488c171 100644
--- a/ui/views/cocoa/bridged_native_widget.h
+++ b/ui/views/cocoa/bridged_native_widget.h
@@ -34,6 +34,7 @@ class BridgedNativeWidgetTestApi;
}
class CocoaMouseCapture;
+class DragDropClientMac;
class NativeWidgetMac;
class View;
@@ -171,6 +172,8 @@ class VIEWS_EXPORT BridgedNativeWidget
TooltipManager* tooltip_manager() { return tooltip_manager_.get(); }
+ DragDropClientMac* drag_drop_client() { return drag_drop_client_.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<DragDropClientMac> drag_drop_client_;
FocusManager* focus_manager_; // Weak. Owned by our Widget.
Widget::InitParams::Type widget_type_;

Powered by Google App Engine
This is Rietveld 408576698