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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 NOTIFICATION_TAB_SNAPSHOT_TAKEN, | 72 NOTIFICATION_TAB_SNAPSHOT_TAKEN, |
73 | 73 |
74 // The user has changed the browser theme. The source is a | 74 // The user has changed the browser theme. The source is a |
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 | |
83 // dialog. The details is a Details<RenderViewHost> with a pointer to the RVH | |
84 // for the shown dialog. | |
85 NOTIFICATION_WEB_DIALOG_SHOWN, | |
86 | |
87 // A new tab is created from an existing tab to serve as a target of a | 82 // 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> | 83 // 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 | 84 // corresponding to the profile in which the new tab will live. Details in |
90 // the form of a RetargetingDetails object are provided. | 85 // the form of a RetargetingDetails object are provided. |
91 NOTIFICATION_RETARGETING, | 86 NOTIFICATION_RETARGETING, |
92 | 87 |
93 // Application-modal dialogs ----------------------------------------------- | 88 // Application-modal dialogs ----------------------------------------------- |
94 | 89 |
95 // Sent after an application-modal dialog has been shown. The source | 90 // Sent after an application-modal dialog has been shown. The source |
96 // is the dialog. | 91 // is the dialog. |
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 // Currently only Content and Chrome define and use notifications. | 1121 // Currently only Content and Chrome define and use notifications. |
1127 // Custom notifications not belonging to Content and Chrome should start | 1122 // Custom notifications not belonging to Content and Chrome should start |
1128 // from here. | 1123 // from here. |
1129 NOTIFICATION_CHROME_END, | 1124 NOTIFICATION_CHROME_END, |
1130 }; | 1125 }; |
1131 | 1126 |
1132 } // namespace chrome | 1127 } // namespace chrome |
1133 | 1128 |
1134 | 1129 |
1135 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1130 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |