| 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_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 13 #include "base/values.h" | 12 #include "base/values.h" |
| 14 #include "chrome/browser/notifications/notification_delegate.h" | 13 #include "chrome/browser/notifications/notification_delegate.h" |
| 15 #include "ui/message_center/notification.h" | 14 #include "ui/message_center/notification.h" |
| 16 #include "ui/message_center/notification_types.h" | 15 #include "ui/message_center/notification_types.h" |
| 17 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 18 | 17 |
| 19 namespace gfx { | 18 namespace gfx { |
| 20 class Image; | 19 class Image; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 private: | 51 private: |
| 53 // The user-supplied tag for the notification. | 52 // The user-supplied tag for the notification. |
| 54 std::string tag_; | 53 std::string tag_; |
| 55 | 54 |
| 56 // A proxy object that allows access back to the JavaScript object that | 55 // A proxy object that allows access back to the JavaScript object that |
| 57 // represents the notification, for firing events. | 56 // represents the notification, for firing events. |
| 58 scoped_refptr<NotificationDelegate> delegate_; | 57 scoped_refptr<NotificationDelegate> delegate_; |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ | 60 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ |
| OLD | NEW |