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

Side by Side Diff: chrome/browser/cocoa/download_item_cell.h

Issue 380002: Mac: Show download item menu on mouse down instead of mouse up. (Closed)
Patch Set: comments Created 10 years, 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ 5 #ifndef CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_
6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ 6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_
7 7
8 #import "base/cocoa_protocols_mac.h" 8 #import "base/cocoa_protocols_mac.h"
9 #import "chrome/browser/cocoa/gradient_button_cell.h" 9 #import "chrome/browser/cocoa/gradient_button_cell.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 scoped_nsobject<NSAnimation> hideStatusAnimation_; 45 scoped_nsobject<NSAnimation> hideStatusAnimation_;
46 46
47 scoped_nsobject<GTMTheme> theme_; 47 scoped_nsobject<GTMTheme> theme_;
48 } 48 }
49 49
50 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; 50 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel;
51 51
52 @property (copy) NSString* secondaryTitle; 52 @property (copy) NSString* secondaryTitle;
53 @property (retain) NSFont* secondaryFont; 53 @property (retain) NSFont* secondaryFont;
54 54
55 // Valid to call in response to a click of the cell's button. Returns if the 55 // Returns if the mouse is over the button part of the cell.
56 // button part of the cell was clicked. 56 - (BOOL)isMouseOverButtonPart;
57 - (BOOL)isButtonPartPressed;
58 57
59 @end 58 @end
60 59
61 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ 60 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_
62 61
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/download_item_button.mm ('k') | chrome/browser/cocoa/download_item_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698