| 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 NOTIFICATION_FULLSCREEN_CHANGED, | 486 NOTIFICATION_FULLSCREEN_CHANGED, |
| 487 | 487 |
| 488 // Sent when the FullscreenController changes, confirms, or denies mouse lock. | 488 // Sent when the FullscreenController changes, confirms, or denies mouse lock. |
| 489 // The source is the browser's FullscreenController, no details. | 489 // The source is the browser's FullscreenController, no details. |
| 490 NOTIFICATION_MOUSE_LOCK_CHANGED, | 490 NOTIFICATION_MOUSE_LOCK_CHANGED, |
| 491 | 491 |
| 492 // Sent by the PluginPrefs when there is a change of plugin enable/disable | 492 // Sent by the PluginPrefs when there is a change of plugin enable/disable |
| 493 // status. The source is the profile. | 493 // status. The source is the profile. |
| 494 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | 494 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, |
| 495 | 495 |
| 496 // Panels Notifications. The Panels are small browser windows near the bottom | |
| 497 // of the screen. | |
| 498 // Sent when all nonblocking bounds animations are finished across panels. | |
| 499 // Used only in unit testing. | |
| 500 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, | |
| 501 | |
| 502 // Sent when panel gains/loses focus. | |
| 503 // The source is the Panel, no details. | |
| 504 // Used only in unit testing. | |
| 505 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, | |
| 506 | |
| 507 // Sent when panel is minimized/restored/shows title only etc. | |
| 508 // The source is the Panel, no details. | |
| 509 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, | |
| 510 | |
| 511 // Sent when panel app icon is loaded. | |
| 512 // Used only in unit testing. | |
| 513 NOTIFICATION_PANEL_APP_ICON_LOADED, | |
| 514 | |
| 515 // Sent when panel collection get updated. | |
| 516 // The source is the PanelCollection, no details. | |
| 517 // Used only in coordination with notification balloons. | |
| 518 NOTIFICATION_PANEL_COLLECTION_UPDATED, | |
| 519 | |
| 520 // Sent when panel is closed. | |
| 521 // The source is the Panel, no details. | |
| 522 NOTIFICATION_PANEL_CLOSED, | |
| 523 | |
| 524 // Sent when a global error has changed and the error UI should update it | 496 // Sent when a global error has changed and the error UI should update it |
| 525 // self. The source is a Source<Profile> containing the profile for the | 497 // self. The source is a Source<Profile> containing the profile for the |
| 526 // error. The detail is a GlobalError object that has changed or NULL if | 498 // error. The detail is a GlobalError object that has changed or NULL if |
| 527 // all error UIs should update. | 499 // all error UIs should update. |
| 528 NOTIFICATION_GLOBAL_ERRORS_CHANGED, | 500 NOTIFICATION_GLOBAL_ERRORS_CHANGED, |
| 529 | 501 |
| 530 // The user accepted or dismissed a SSL client authentication request. | 502 // The user accepted or dismissed a SSL client authentication request. |
| 531 // The source is a Source<net::HttpNetworkSession>. Details is a | 503 // The source is a Source<net::HttpNetworkSession>. Details is a |
| 532 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). | 504 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). |
| 533 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, | 505 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
| 534 | 506 |
| 535 // Note:- | 507 // Note:- |
| 536 // Currently only Content and Chrome define and use notifications. | 508 // Currently only Content and Chrome define and use notifications. |
| 537 // Custom notifications not belonging to Content and Chrome should start | 509 // Custom notifications not belonging to Content and Chrome should start |
| 538 // from here. | 510 // from here. |
| 539 NOTIFICATION_CHROME_END, | 511 NOTIFICATION_CHROME_END, |
| 540 }; | 512 }; |
| 541 | 513 |
| 542 } // namespace chrome | 514 } // namespace chrome |
| 543 | 515 |
| 544 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 516 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |