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

Unified Diff: ui/views/widget/widget.h

Issue 378333003: Allow menus to stay open during a child view's drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index bc3f91473dd19de5175b0b939a69341424b7a329..0d7ca8a9a57c24489d8fd28ee09cec7a9affb456 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -793,6 +793,14 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// TODO(beng): remove once we fold those objects onto this one.
void DestroyRootView();
+ // Notification that a drag will start. Default implementation does nothing.
+ virtual void OnDragWillStart();
+
+ // Notification that the drag performed by RunShellDrag() has completed.
+ // |view| is the view that was dragged. This may be NULL.
sky 2014/07/14 15:19:05 I don't think you should pass in view here, it may
Devlin 2014/07/16 16:00:45 Done.
+ // Default implementation does nothing.
+ virtual void OnDragComplete(View* view);
+
private:
friend class ComboboxTest;
friend class TextfieldTest;

Powered by Google App Engine
This is Rietveld 408576698