OLD | NEW |
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_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_ |
7 #pragma once | |
8 | 7 |
9 #import <AppKit/AppKit.h> | 8 #import <AppKit/AppKit.h> |
10 | 9 |
11 #include <map> | 10 #include <map> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/memory/scoped_nsobject.h" | 13 #include "base/memory/scoped_nsobject.h" |
15 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
16 #include "base/string16.h" | 15 #include "base/string16.h" |
17 #include "chrome/browser/notifications/notification_ui_manager.h" | 16 #include "chrome/browser/notifications/notification_ui_manager.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 86 |
88 // Maps notification_ids to ControllerNotifications. The map owns the value, | 87 // Maps notification_ids to ControllerNotifications. The map owns the value, |
89 // so it must be deleted when remvoed from the map. This is typically handled | 88 // so it must be deleted when remvoed from the map. This is typically handled |
90 // in RemoveNotification. | 89 // in RemoveNotification. |
91 NotificationMap notification_map_; | 90 NotificationMap notification_map_; |
92 | 91 |
93 DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerMac); | 92 DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerMac); |
94 }; | 93 }; |
95 | 94 |
96 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_ | 95 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_ |
OLD | NEW |