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

Unified Diff: ash/shelf/shelf_view.h

Issue 2876203003: Make shelf item can be dragged when context menu is opened.
Patch Set: Add widget observer for |owner_| in MenuHost. Created 3 years, 3 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 | « ash/shelf/shelf_button.cc ('k') | ash/shelf/shelf_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view.h
diff --git a/ash/shelf/shelf_view.h b/ash/shelf/shelf_view.h
index 3e79c05398b005407e284f91493562d57d7eae8f..d7286fc4a008cda798c58eb3f722da2fcf60acd0 100644
--- a/ash/shelf/shelf_view.h
+++ b/ash/shelf/shelf_view.h
@@ -315,6 +315,7 @@ class ASH_EXPORT ShelfView : public views::View,
// Shows a default shelf context menu with optional extra custom |menu_items|.
void AfterGetContextMenuItems(const ShelfID& shelf_id,
const gfx::Point& point,
+ views::View* source,
ui::MenuSourceType source_type,
std::vector<mojom::MenuItemPtr> menu_items);
« no previous file with comments | « ash/shelf/shelf_button.cc ('k') | ash/shelf/shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698