| 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 #include "extensions/features/features.h" | 9 #include "extensions/features/features.h" |
| 10 | 10 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 258 |
| 259 // Notification from PrintJob that an event occurred. It can be that a page | 259 // Notification from PrintJob that an event occurred. It can be that a page |
| 260 // finished printing or that the print job failed. Details is | 260 // finished printing or that the print job failed. Details is |
| 261 // PrintJob::EventDetails. Source is a PrintJob. | 261 // PrintJob::EventDetails. Source is a PrintJob. |
| 262 NOTIFICATION_PRINT_JOB_EVENT, | 262 NOTIFICATION_PRINT_JOB_EVENT, |
| 263 | 263 |
| 264 // Sent when a PrintJob has been released. | 264 // Sent when a PrintJob has been released. |
| 265 // Source is the WebContents that holds the print job. | 265 // Source is the WebContents that holds the print job. |
| 266 NOTIFICATION_PRINT_JOB_RELEASED, | 266 NOTIFICATION_PRINT_JOB_RELEASED, |
| 267 | 267 |
| 268 // Upgrade notifications --------------------------------------------------- | |
| 269 | |
| 270 // Sent when Chrome believes an update has been installed and available for | |
| 271 // long enough with the user shutting down to let it take effect. See | |
| 272 // upgrade_detector.cc for details on how long it waits. No details are | |
| 273 // expected. | |
| 274 NOTIFICATION_UPGRADE_RECOMMENDED, | |
| 275 | |
| 276 // Sent when a critical update has been installed. No details are expected. | |
| 277 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, | |
| 278 | |
| 279 // Sent when the current install is outdated. No details are expected. | |
| 280 NOTIFICATION_OUTDATED_INSTALL, | |
| 281 | |
| 282 // Sent when the current install is outdated and auto-update (AU) is disabled. | |
| 283 // No details are expected. | |
| 284 NOTIFICATION_OUTDATED_INSTALL_NO_AU, | |
| 285 | |
| 286 // Content Settings -------------------------------------------------------- | 268 // Content Settings -------------------------------------------------------- |
| 287 | 269 |
| 288 // Sent when the collect cookies dialog is shown. The source is a | 270 // Sent when the collect cookies dialog is shown. The source is a |
| 289 // TabSpecificContentSettings object, there are no details. | 271 // TabSpecificContentSettings object, there are no details. |
| 290 NOTIFICATION_COLLECTED_COOKIES_SHOWN, | 272 NOTIFICATION_COLLECTED_COOKIES_SHOWN, |
| 291 | 273 |
| 292 // Sent when content settings change for a tab. The source is a | 274 // Sent when content settings change for a tab. The source is a |
| 293 // content::WebContents object, the details are None. | 275 // content::WebContents object, the details are None. |
| 294 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, | 276 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, |
| 295 | 277 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 // Note:- | 445 // Note:- |
| 464 // Currently only Content and Chrome define and use notifications. | 446 // Currently only Content and Chrome define and use notifications. |
| 465 // Custom notifications not belonging to Content and Chrome should start | 447 // Custom notifications not belonging to Content and Chrome should start |
| 466 // from here. | 448 // from here. |
| 467 NOTIFICATION_CHROME_END, | 449 NOTIFICATION_CHROME_END, |
| 468 }; | 450 }; |
| 469 | 451 |
| 470 } // namespace chrome | 452 } // namespace chrome |
| 471 | 453 |
| 472 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 454 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |