| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_NOTIFICATION_TYPE_H_ | 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 7 | 7 |
| 8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
| 9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
| 10 // | 10 // |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 WINDOW_CLOSED, | 205 WINDOW_CLOSED, |
| 206 | 206 |
| 207 // Sent when an info bubble has been created but not yet shown. The source | 207 // Sent when an info bubble has been created but not yet shown. The source |
| 208 // is the InfoBubble. | 208 // is the InfoBubble. |
| 209 INFO_BUBBLE_CREATED, | 209 INFO_BUBBLE_CREATED, |
| 210 | 210 |
| 211 // Sent after a call to RenderViewHost::DeterminePageLanguage. The details | 211 // Sent after a call to RenderViewHost::DeterminePageLanguage. The details |
| 212 // are Details<std::string> and the source is Source<RenderViewHost>. | 212 // are Details<std::string> and the source is Source<RenderViewHost>. |
| 213 TAB_LANGUAGE_DETERMINED, | 213 TAB_LANGUAGE_DETERMINED, |
| 214 | 214 |
| 215 // Send after the code is run in specified tab. |
| 216 TAB_CODE_EXECUTED, |
| 217 |
| 215 // The user has changed the browser theme. | 218 // The user has changed the browser theme. |
| 216 BROWSER_THEME_CHANGED, | 219 BROWSER_THEME_CHANGED, |
| 217 | 220 |
| 218 // Fired when the active window changes. This is currently only used on | 221 // Fired when the active window changes. This is currently only used on |
| 219 // Linux. | 222 // Linux. |
| 220 ACTIVE_WINDOW_CHANGED, | 223 ACTIVE_WINDOW_CHANGED, |
| 221 | 224 |
| 222 // Application-modal dialogs ----------------------------------------------- | 225 // Application-modal dialogs ----------------------------------------------- |
| 223 | 226 |
| 224 // Sent after an application-modal dialog has been shown. The source | 227 // Sent after an application-modal dialog has been shown. The source |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 }; | 703 }; |
| 701 | 704 |
| 702 inline bool operator==(NotificationType::Type a, NotificationType b) { | 705 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 703 return a == b.value; | 706 return a == b.value; |
| 704 } | 707 } |
| 705 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 708 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 706 return a != b.value; | 709 return a != b.value; |
| 707 } | 710 } |
| 708 | 711 |
| 709 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 712 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |