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

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

Issue 8757007: Implement additional UI changes for dangerous download warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years 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 8f59f420a0bc74651dfc5b1d679a0f01e9a827b8..477ba36d9de33606f1dbb81986c6cebd0bca0db2 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
@@ -27,15 +27,9 @@ class DownloadShelfContextMenuView : public DownloadShelfContextMenu {
explicit DownloadShelfContextMenuView(BaseDownloadItemModel* model);
virtual ~DownloadShelfContextMenuView();
- // Returns true if menu has been deleted. |rect| is the bounding area for
- // positioning the menu in screen coordinates. The menu will be positioned
- // above or below but not overlapping |rect|.
- bool Run(views::Widget* parent_widget,
- const gfx::Rect& rect) WARN_UNUSED_RESULT;
-
- // This method runs when the caller has been deleted and we should not attempt
- // to access download_item().
- void Stop();
+ // |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);
private:
scoped_ptr<views::MenuRunner> menu_runner_;

Powered by Google App Engine
This is Rietveld 408576698