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

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

Issue 1130903004: [Mac] Fix download item text sometimes being misaligned. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/download/download_item_cell.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_
6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ 6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #import "chrome/browser/ui/cocoa/gradient_button_cell.h" 9 #import "chrome/browser/ui/cocoa/gradient_button_cell.h"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 - (void)setStateFromDownload:(DownloadItemModel*)downloadModel; 57 - (void)setStateFromDownload:(DownloadItemModel*)downloadModel;
58 58
59 // Returns if the mouse is over the button part of the cell. 59 // Returns if the mouse is over the button part of the cell.
60 - (BOOL)isMouseOverButtonPart; 60 - (BOOL)isMouseOverButtonPart;
61 61
62 @end 62 @end
63 63
64 @interface DownloadItemCell(TestingAPI) 64 @interface DownloadItemCell(TestingAPI)
65 - (BOOL)isStatusTextVisible; 65 - (BOOL)isStatusTextVisible;
66 - (CGFloat)statusTextAlpha; 66 - (CGFloat)statusTextAlpha;
67 - (CGFloat)titleY;
67 - (void)skipVisibilityAnimation; 68 - (void)skipVisibilityAnimation;
68 - (void)showSecondaryTitle; 69 - (void)showSecondaryTitle;
69 - (void)hideSecondaryTitle; 70 - (void)hideSecondaryTitle;
70 - (IndeterminateProgressTimer*)indeterminateProgressTimer; 71 - (IndeterminateProgressTimer*)indeterminateProgressTimer;
71 @end 72 @end
72 73
73 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ 74 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/download/download_item_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698