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

Side by Side Diff: chrome/browser/ui/cocoa/download/download_item_button.h

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "base/mac/cocoa_protocols.h"
8 #include "base/file_path.h" 7 #include "base/file_path.h"
9 #import "chrome/browser/ui/cocoa/draggable_button.h" 8 #import "chrome/browser/ui/cocoa/draggable_button.h"
10 9
11 @class DownloadItemController; 10 @class DownloadItemController;
12 11
13 // A button that is a drag source for a file and that displays a context menu 12 // A button that is a drag source for a file and that displays a context menu
14 // instead of firing an action when clicked in a certain area. 13 // instead of firing an action when clicked in a certain area.
15 @interface DownloadItemButton : DraggableButton<NSMenuDelegate> { 14 @interface DownloadItemButton : DraggableButton<NSMenuDelegate> {
16 @private 15 @private
17 FilePath downloadPath_; 16 FilePath downloadPath_;
18 DownloadItemController* controller_; // weak 17 DownloadItemController* controller_; // weak
19 } 18 }
20 19
21 @property(assign, nonatomic) FilePath download; 20 @property(assign, nonatomic) FilePath download;
22 @property(assign, nonatomic) DownloadItemController* controller; 21 @property(assign, nonatomic) DownloadItemController* controller;
23 22
24 // Overridden from DraggableButton. 23 // Overridden from DraggableButton.
25 - (void)beginDrag:(NSEvent*)event; 24 - (void)beginDrag:(NSEvent*)event;
26 25
27 @end 26 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698