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

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..c6e7b48cd4c4ec42e412675b9cb8c19034a6b72a 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -793,6 +793,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// TODO(beng): remove once we fold those objects onto this one.
void DestroyRootView();
+ // Notification that the drag performed by RunShellDrag() has completed.
+ // Default implementation does nothing.
+ virtual void OnDragComplete();
sky 2014/07/11 17:45:34 You should move the code in MenuController::StartD
Devlin 2014/07/11 18:43:51 Done (though not much of the code in StartDrag() i
sky 2014/07/11 19:15:20 I wanted to make sure the state (which you're righ
Devlin 2014/07/11 20:28:15 Yep, makes a lot of sense. :) Just wanted to make
+
private:
friend class ComboboxTest;
friend class TextfieldTest;

Powered by Google App Engine
This is Rietveld 408576698