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

Unified Diff: chrome/browser/cocoa/download_item_button.h

Issue 180036: Make download items drag sources on OS X. (Closed)
Patch Set: comments Created 10 years, 11 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
« no previous file with comments | « chrome/browser/cocoa/bookmark_button_unittest.mm ('k') | chrome/browser/cocoa/download_item_button.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/download_item_button.h
diff --git a/chrome/browser/cocoa/download_item_button.h b/chrome/browser/cocoa/download_item_button.h
new file mode 100644
index 0000000000000000000000000000000000000000..5ce1a014e09ecb18aa406693e1307f8cf7567c60
--- /dev/null
+++ b/chrome/browser/cocoa/download_item_button.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2010 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.
+
+#import <Cocoa/Cocoa.h>
+
+#include "base/file_path.h"
+#import "chrome/browser/cocoa/draggable_button.h"
+
+// A button that is a drag source for a file.
+@interface DownloadItemButton : DraggableButton {
+ @private
+ FilePath downloadPath_;
+}
+
+@property(assign, nonatomic) FilePath download;
+
+// Overridden from DraggableButton.
+- (void)beginDrag:(NSEvent*)event;
+
+@end
« no previous file with comments | « chrome/browser/cocoa/bookmark_button_unittest.mm ('k') | chrome/browser/cocoa/download_item_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698