| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
| 10 | 10 |
| 11 namespace chrome { | 11 namespace chrome { |
| 12 | 12 |
| 13 enum { | 13 enum NotificationType { |
| 14 NOTIFICATION_CHROME_START = content::NOTIFICATION_CONTENT_END, | 14 NOTIFICATION_CHROME_START = content::NOTIFICATION_CONTENT_END, |
| 15 | 15 |
| 16 // Browser-window ---------------------------------------------------------- | 16 // Browser-window ---------------------------------------------------------- |
| 17 | 17 |
| 18 // This message is sent after a window has been opened. The source is a | 18 // This message is sent after a window has been opened. The source is a |
| 19 // Source<Browser> containing the affected Browser. No details are | 19 // Source<Browser> containing the affected Browser. No details are |
| 20 // expected. | 20 // expected. |
| 21 NOTIFICATION_BROWSER_OPENED = NOTIFICATION_CHROME_START, | 21 NOTIFICATION_BROWSER_OPENED = NOTIFICATION_CHROME_START, |
| 22 | 22 |
| 23 // This message is sent soon after BROWSER_OPENED, and indicates that | 23 // This message is sent soon after BROWSER_OPENED, and indicates that |
| (...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 // Currently only Content and Chrome define and use notifications. | 881 // Currently only Content and Chrome define and use notifications. |
| 882 // Custom notifications not belonging to Content and Chrome should start | 882 // Custom notifications not belonging to Content and Chrome should start |
| 883 // from here. | 883 // from here. |
| 884 NOTIFICATION_CHROME_END, | 884 NOTIFICATION_CHROME_END, |
| 885 }; | 885 }; |
| 886 | 886 |
| 887 } // namespace chrome | 887 } // namespace chrome |
| 888 | 888 |
| 889 | 889 |
| 890 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 890 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |