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

Side by Side Diff: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h

Issue 18247002: Remove the most obvious dead code from message center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move MessageCenterButtonBar into cc file to hide implementation. Created 7 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_NOTIFICATIONS_MESSAGE_CENTER_TRAY_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_MESSAGE_CENTER_TRAY_BRIDGE_H_
6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_MESSAGE_CENTER_TRAY_BRIDGE_H_ 6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_MESSAGE_CENTER_TRAY_BRIDGE_H_
7 7
8 #import <AppKit/AppKit.h> 8 #import <AppKit/AppKit.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 18 matching lines...) Expand all
29 public message_center::MessageCenterTrayDelegate { 29 public message_center::MessageCenterTrayDelegate {
30 public: 30 public:
31 explicit MessageCenterTrayBridge( 31 explicit MessageCenterTrayBridge(
32 message_center::MessageCenter* message_center); 32 message_center::MessageCenter* message_center);
33 virtual ~MessageCenterTrayBridge(); 33 virtual ~MessageCenterTrayBridge();
34 34
35 // message_center::MessageCenterTrayDelegate: 35 // message_center::MessageCenterTrayDelegate:
36 virtual void OnMessageCenterTrayChanged() OVERRIDE; 36 virtual void OnMessageCenterTrayChanged() OVERRIDE;
37 virtual bool ShowPopups() OVERRIDE; 37 virtual bool ShowPopups() OVERRIDE;
38 virtual void HidePopups() OVERRIDE; 38 virtual void HidePopups() OVERRIDE;
39 virtual void UpdatePopups() OVERRIDE;
40 virtual bool ShowMessageCenter() OVERRIDE; 39 virtual bool ShowMessageCenter() OVERRIDE;
41 virtual void HideMessageCenter() OVERRIDE; 40 virtual void HideMessageCenter() OVERRIDE;
42 virtual bool ShowNotifierSettings() OVERRIDE; 41 virtual bool ShowNotifierSettings() OVERRIDE;
43 42
44 message_center::MessageCenter* message_center() { return message_center_; } 43 message_center::MessageCenter* message_center() { return message_center_; }
45 44
46 private: 45 private:
47 friend class MessageCenterTrayBridgeTest; 46 friend class MessageCenterTrayBridgeTest;
48 47
49 // Updates the unread count on the status item. 48 // Updates the unread count on the status item.
(...skipping 17 matching lines...) Expand all
67 // Obj-C controller for the on-screen popup notifications. 66 // Obj-C controller for the on-screen popup notifications.
68 base::scoped_nsobject<MCPopupCollection> popup_collection_; 67 base::scoped_nsobject<MCPopupCollection> popup_collection_;
69 68
70 // Weak pointer factory to posts tasks to self. 69 // Weak pointer factory to posts tasks to self.
71 base::WeakPtrFactory<MessageCenterTrayBridge> weak_ptr_factory_; 70 base::WeakPtrFactory<MessageCenterTrayBridge> weak_ptr_factory_;
72 71
73 DISALLOW_COPY_AND_ASSIGN(MessageCenterTrayBridge); 72 DISALLOW_COPY_AND_ASSIGN(MessageCenterTrayBridge);
74 }; 73 };
75 74
76 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_MESSAGE_CENTER_TRAY_BRIDGE_H_ 75 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_MESSAGE_CENTER_TRAY_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698