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 NotificationTypes { |
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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 // Currently only Content and Chrome define and use notifications. | 870 // Currently only Content and Chrome define and use notifications. |
871 // Custom notifications not belonging to Content and Chrome should start | 871 // Custom notifications not belonging to Content and Chrome should start |
872 // from here. | 872 // from here. |
873 NOTIFICATION_CHROME_END, | 873 NOTIFICATION_CHROME_END, |
874 }; | 874 }; |
875 | 875 |
876 } // namespace chrome | 876 } // namespace chrome |
877 | 877 |
878 | 878 |
879 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 879 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |