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

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

Issue 175025: Add a bare-bones extension shelf that displays extension items on OS X. (Closed)
Patch Set: Merge ToT, address more comments Created 11 years, 3 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 | « chrome/browser/cocoa/extension_view_mac.mm ('k') | chrome/browser/cocoa/status_bubble_mac.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) 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_STATUS_BUBBLE_MAC_H_ 5 #ifndef CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_
6 #define CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_ 6 #define CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 NSWindow* window_; 48 NSWindow* window_;
49 49
50 // The status text we want to display when there are no URLs to display. 50 // The status text we want to display when there are no URLs to display.
51 NSString* status_text_; 51 NSString* status_text_;
52 52
53 // The url we want to display when there is no status text to display. 53 // The url we want to display when there is no status text to display.
54 NSString* url_text_; 54 NSString* url_text_;
55 55
56 // How vertically offset the bubble is from its root position. 56 // How vertically offset the bubble is from its root position.
57 int offset_; 57 int offset_;
58
59 // Is the download shelf visible.
60 bool is_download_shelf_visible_;
61 }; 58 };
62 59
63 // Delegate interface that allows the StatusBubble to query its delegate about 60 // Delegate interface that allows the StatusBubble to query its delegate about
64 // the vertical offset (if any) that should be applied to the StatusBubble's 61 // the vertical offset (if any) that should be applied to the StatusBubble's
65 // position. 62 // position.
66 @interface NSObject(StatusBubbleDelegate) 63 @interface NSObject(StatusBubbleDelegate)
67 - (float)verticalOffsetForStatusBubble; 64 - (float)verticalOffsetForStatusBubble;
68 @end 65 @end
69 66
70 #endif // #ifndef CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_ 67 #endif // #ifndef CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/extension_view_mac.mm ('k') | chrome/browser/cocoa/status_bubble_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698