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 916dc0a643f508fcfbe66fb4528419dcda4317ee..aa411cd6c98007e695a69af07e97240a92ba4fbe 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 |
@@ -9,6 +9,7 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/download/download_shelf_context_menu.h" |
+#include "ui/base/ui_base_types.h" |
namespace content { |
class DownloadItem; |
@@ -32,7 +33,9 @@ class DownloadShelfContextMenuView : public DownloadShelfContextMenu { |
// |rect| is the bounding area for positioning the menu in screen coordinates. |
// The menu will be positioned above or below but not overlapping |rect|. |
- void Run(views::Widget* parent_widget, const gfx::Rect& rect); |
+ void Run(views::Widget* parent_widget, |
+ const gfx::Rect& rect, |
+ ui::MenuSourceType source_type); |
private: |
scoped_ptr<views::MenuRunner> menu_runner_; |