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

Unified Diff: ui/message_center/cocoa/tray_view_controller.h

Issue 142413005: Add an empty message to the notification center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds one more nit fix. Created 6 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 | « no previous file | ui/message_center/cocoa/tray_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/cocoa/tray_view_controller.h
diff --git a/ui/message_center/cocoa/tray_view_controller.h b/ui/message_center/cocoa/tray_view_controller.h
index d5f9f1f8876301d9a72e56feeaddafd33960915c..5d5b3af83e9ddea4c81e21e97203758c6b18b55b 100644
--- a/ui/message_center/cocoa/tray_view_controller.h
+++ b/ui/message_center/cocoa/tray_view_controller.h
@@ -46,6 +46,12 @@ MESSAGE_CENTER_EXPORT
// The "Notifications" label at the top.
base::scoped_nsobject<NSTextField> title_;
+ // The 1px horizontal divider between the scroll view and the title bar.
+ base::scoped_nsobject<NSBox> divider_;
+
+ // The "Nothing to see here" label in an empty message center.
+ base::scoped_nsobject<NSTextField> emptyDescription_;
+
// The scroll view that contains all the notifications in its documentView.
base::scoped_nsobject<NSScrollView> scrollView_;
@@ -157,6 +163,8 @@ MESSAGE_CENTER_EXPORT
// Testing API /////////////////////////////////////////////////////////////////
@interface MCTrayViewController (TestingAPI)
+- (NSBox*)divider;
+- (NSTextField*)emptyDescription;
- (NSScrollView*)scrollView;
- (HoverImageButton*)pauseButton;
- (HoverImageButton*)clearAllButton;
« no previous file with comments | « no previous file | ui/message_center/cocoa/tray_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698