Index: chrome/browser/ui/cocoa/download/download_item_button.h |
diff --git a/chrome/browser/ui/cocoa/download/download_item_button.h b/chrome/browser/ui/cocoa/download/download_item_button.h |
index e0124913885ae0ec4c59bfeb553794865cb4823d..33646d7e73dc1278ded01cf389cbece9f00d3442 100644 |
--- a/chrome/browser/ui/cocoa/download/download_item_button.h |
+++ b/chrome/browser/ui/cocoa/download/download_item_button.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -17,11 +17,15 @@ |
@private |
base::FilePath downloadPath_; |
DownloadItemController* controller_; // weak |
+ base::scoped_nsobject<NSMenu> contextMenu_; |
} |
@property(assign, nonatomic) base::FilePath download; |
@property(assign, nonatomic) DownloadItemController* controller; |
+// Shows the DownloadItemButton's context menu. |
+- (void)showContextMenu; |
+ |
// Overridden from DraggableButton. |
- (void)beginDrag:(NSEvent*)event; |