| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 // Sent when a cookie changes, for consumption by extensions. The source is a | 317 // Sent when a cookie changes, for consumption by extensions. The source is a |
| 318 // Profile object, the details are a ChromeCookieDetails object. | 318 // Profile object, the details are a ChromeCookieDetails object. |
| 319 NOTIFICATION_COOKIE_CHANGED_FOR_EXTENSIONS, | 319 NOTIFICATION_COOKIE_CHANGED_FOR_EXTENSIONS, |
| 320 #endif | 320 #endif |
| 321 | 321 |
| 322 // Download Notifications -------------------------------------------------- | 322 // Download Notifications -------------------------------------------------- |
| 323 | 323 |
| 324 // Sent when a download is initiated. It is possible that the download will | 324 // Sent when a download is initiated. It is possible that the download will |
| 325 // not actually begin due to the DownloadRequestLimiter cancelling it | 325 // not actually begin due to the DownloadRequestLimiter cancelling it |
| 326 // prematurely. | 326 // prematurely. |
| 327 // The source is the corresponding RenderViewHost. There are no details. | 327 // The source is the corresponding WebContents. There are no details. |
| 328 NOTIFICATION_DOWNLOAD_INITIATED, | 328 NOTIFICATION_DOWNLOAD_INITIATED, |
| 329 | 329 |
| 330 // Misc -------------------------------------------------------------------- | 330 // Misc -------------------------------------------------------------------- |
| 331 | 331 |
| 332 #if defined(OS_CHROMEOS) | 332 #if defined(OS_CHROMEOS) |
| 333 // Sent when a chromium os user logs in. | 333 // Sent when a chromium os user logs in. |
| 334 // The details are a chromeos::User object. | 334 // The details are a chromeos::User object. |
| 335 NOTIFICATION_LOGIN_USER_CHANGED, | 335 NOTIFICATION_LOGIN_USER_CHANGED, |
| 336 | 336 |
| 337 // Sent immediately after the logged-in user's profile is ready. | 337 // Sent immediately after the logged-in user's profile is ready. |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 // Note:- | 493 // Note:- |
| 494 // Currently only Content and Chrome define and use notifications. | 494 // Currently only Content and Chrome define and use notifications. |
| 495 // Custom notifications not belonging to Content and Chrome should start | 495 // Custom notifications not belonging to Content and Chrome should start |
| 496 // from here. | 496 // from here. |
| 497 NOTIFICATION_CHROME_END, | 497 NOTIFICATION_CHROME_END, |
| 498 }; | 498 }; |
| 499 | 499 |
| 500 } // namespace chrome | 500 } // namespace chrome |
| 501 | 501 |
| 502 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 502 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |