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

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

Issue 2439533002: Download Feedback Service should upload all eligible downloads (Closed)
Patch Set: nit function renaming Created 4 years, 2 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 53cd99127bace147e1ca844fd3c38889b79f9117..37ecabc49b8af5e7dec1022705ccdd932d6308d8 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
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "base/time/time.h"
#include "chrome/browser/download/download_shelf_context_menu.h"
+#include "chrome/browser/ui/views/download/download_item_view.h"
#include "ui/base/ui_base_types.h"
namespace content {
@@ -29,7 +30,7 @@ class Widget;
class DownloadShelfContextMenuView : public DownloadShelfContextMenu {
public:
- explicit DownloadShelfContextMenuView(content::DownloadItem* download_item);
+ explicit DownloadShelfContextMenuView(DownloadItemView* download_item_view);
~DownloadShelfContextMenuView() override;
base::TimeTicks close_time() const { return close_time_; }
@@ -45,6 +46,11 @@ class DownloadShelfContextMenuView : public DownloadShelfContextMenu {
// Callback for MenuRunner.
void OnMenuClosed(const base::Closure& on_menu_closed_callback);
+ void ExecuteCommand(int command_id, int event_flags) override;
+
+ // Parent download item view.
+ DownloadItemView* download_item_view_;
+
std::unique_ptr<views::MenuRunner> menu_runner_;
// Time the menu was closed.

Powered by Google App Engine
This is Rietveld 408576698