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

Unified Diff: chrome/browser/ui/views/download/download_shelf_context_menu_view.h

Issue 2295323002: Download Drop Down Highlight Doesn't Stay (Closed)
Patch Set: Created 4 years, 4 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: chrome/browser/ui/views/download/download_shelf_context_menu_view.h
diff --git a/chrome/browser/ui/views/download/download_shelf_context_menu_view.h b/chrome/browser/ui/views/download/download_shelf_context_menu_view.h
index 8a4d8ed6d57f501be3ec2c31c1903fe68f6a2deb..b956e6a7165206d954f968f2176c9278a215c66f 100644
--- a/chrome/browser/ui/views/download/download_shelf_context_menu_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_context_menu_view.h
@@ -39,11 +39,12 @@ class DownloadShelfContextMenuView : public DownloadShelfContextMenu {
// The menu will be positioned above or below but not overlapping |rect|.
void Run(views::Widget* parent_widget,
const gfx::Rect& rect,
- ui::MenuSourceType source_type);
+ ui::MenuSourceType source_type,
+ const base::Closure& on_menu_closed_callback);
private:
// Callback for MenuModelAdapter
- void OnMenuClosed();
+ void OnMenuClosed(const base::Closure& on_menu_closed_callback);
std::unique_ptr<views::MenuModelAdapter> menu_model_adapter_;
std::unique_ptr<views::MenuRunner> menu_runner_;

Powered by Google App Engine
This is Rietveld 408576698