| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(ENABLE_EXTENSIONS) | 10 #if defined(ENABLE_EXTENSIONS) |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 // Sent when a critical update has been installed. No details are expected. | 287 // Sent when a critical update has been installed. No details are expected. |
| 288 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, | 288 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, |
| 289 | 289 |
| 290 // Sent when the current install is outdated. No details are expected. | 290 // Sent when the current install is outdated. No details are expected. |
| 291 NOTIFICATION_OUTDATED_INSTALL, | 291 NOTIFICATION_OUTDATED_INSTALL, |
| 292 | 292 |
| 293 // Sent when the current install is outdated and auto-update (AU) is disabled. | 293 // Sent when the current install is outdated and auto-update (AU) is disabled. |
| 294 // No details are expected. | 294 // No details are expected. |
| 295 NOTIFICATION_OUTDATED_INSTALL_NO_AU, | 295 NOTIFICATION_OUTDATED_INSTALL_NO_AU, |
| 296 | 296 |
| 297 // Software incompatibility notifications ---------------------------------- | |
| 298 | |
| 299 // Sent when Chrome has finished compiling the list of loaded modules (and | |
| 300 // other modules of interest). No details are expected. | |
| 301 NOTIFICATION_MODULE_LIST_ENUMERATED, | |
| 302 | |
| 303 // Sent when Chrome is done scanning the module list and when the user has | |
| 304 // acknowledged the module incompatibility. No details are expected. | |
| 305 NOTIFICATION_MODULE_INCOMPATIBILITY_ICON_CHANGE, | |
| 306 | |
| 307 // Content Settings -------------------------------------------------------- | 297 // Content Settings -------------------------------------------------------- |
| 308 | 298 |
| 309 // Sent when the collect cookies dialog is shown. The source is a | 299 // Sent when the collect cookies dialog is shown. The source is a |
| 310 // TabSpecificContentSettings object, there are no details. | 300 // TabSpecificContentSettings object, there are no details. |
| 311 NOTIFICATION_COLLECTED_COOKIES_SHOWN, | 301 NOTIFICATION_COLLECTED_COOKIES_SHOWN, |
| 312 | 302 |
| 313 // Sent when content settings change for a tab. The source is a | 303 // Sent when content settings change for a tab. The source is a |
| 314 // content::WebContents object, the details are None. | 304 // content::WebContents object, the details are None. |
| 315 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, | 305 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, |
| 316 | 306 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 // Note:- | 525 // Note:- |
| 536 // Currently only Content and Chrome define and use notifications. | 526 // Currently only Content and Chrome define and use notifications. |
| 537 // Custom notifications not belonging to Content and Chrome should start | 527 // Custom notifications not belonging to Content and Chrome should start |
| 538 // from here. | 528 // from here. |
| 539 NOTIFICATION_CHROME_END, | 529 NOTIFICATION_CHROME_END, |
| 540 }; | 530 }; |
| 541 | 531 |
| 542 } // namespace chrome | 532 } // namespace chrome |
| 543 | 533 |
| 544 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 534 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |