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_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/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // Source<ThemeService>. There are no details. | 75 // Source<ThemeService>. There are no details. |
76 NOTIFICATION_BROWSER_THEME_CHANGED, | 76 NOTIFICATION_BROWSER_THEME_CHANGED, |
77 | 77 |
78 // Sent when the renderer returns focus to the browser, as part of focus | 78 // Sent when the renderer returns focus to the browser, as part of focus |
79 // traversal. The source is the browser, there are no details. | 79 // traversal. The source is the browser, there are no details. |
80 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER, | 80 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER, |
81 | 81 |
82 // Sent after an WebDialog dialog has been shown. The source is the | 82 // Sent after an WebDialog dialog has been shown. The source is the |
83 // dialog. The details is a Details<RenderViewHost> with a pointer to the RVH | 83 // dialog. The details is a Details<RenderViewHost> with a pointer to the RVH |
84 // for the shown dialog. | 84 // for the shown dialog. |
85 NOTIFICATION_HTML_DIALOG_SHOWN, | 85 NOTIFICATION_WEB_DIALOG_SHOWN, |
86 | 86 |
87 // A new tab is created from an existing tab to serve as a target of a | 87 // A new tab is created from an existing tab to serve as a target of a |
88 // navigation that is about to happen. The source will be a Source<Profile> | 88 // navigation that is about to happen. The source will be a Source<Profile> |
89 // corresponding to the profile in which the new tab will live. Details in | 89 // corresponding to the profile in which the new tab will live. Details in |
90 // the form of a RetargetingDetails object are provided. | 90 // the form of a RetargetingDetails object are provided. |
91 NOTIFICATION_RETARGETING, | 91 NOTIFICATION_RETARGETING, |
92 | 92 |
93 // Application-modal dialogs ----------------------------------------------- | 93 // Application-modal dialogs ----------------------------------------------- |
94 | 94 |
95 // Sent after an application-modal dialog has been shown. The source | 95 // Sent after an application-modal dialog has been shown. The source |
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1080 // Currently only Content and Chrome define and use notifications. | 1080 // Currently only Content and Chrome define and use notifications. |
1081 // Custom notifications not belonging to Content and Chrome should start | 1081 // Custom notifications not belonging to Content and Chrome should start |
1082 // from here. | 1082 // from here. |
1083 NOTIFICATION_CHROME_END, | 1083 NOTIFICATION_CHROME_END, |
1084 }; | 1084 }; |
1085 | 1085 |
1086 } // namespace chrome | 1086 } // namespace chrome |
1087 | 1087 |
1088 | 1088 |
1089 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1089 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |