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

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: Test Fix 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
« no previous file with comments | « ui/views/controls/menu/menu_host.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index bf9ce093650d16f37f86af7e73fac2c453dfd4ef..6f85324bdd9325ba00f38ad5cb8ed777fee30fc1 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -793,6 +793,12 @@ 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.
+ virtual void OnDragComplete();
+
private:
friend class ComboboxTest;
friend class TextfieldTest;
« no previous file with comments | « ui/views/controls/menu/menu_host.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698