| 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 | 551 |
| 552 // Sent when the Ash session ended. Currently this means the metro app exited. | 552 // Sent when the Ash session ended. Currently this means the metro app exited. |
| 553 // Used only on Windows. | 553 // Used only on Windows. |
| 554 NOTIFICATION_ASH_SESSION_ENDED, | 554 NOTIFICATION_ASH_SESSION_ENDED, |
| 555 #endif | 555 #endif |
| 556 | 556 |
| 557 // Protocol Handler Registry ----------------------------------------------- | 557 // Protocol Handler Registry ----------------------------------------------- |
| 558 // Sent when a ProtocolHandlerRegistry is changed. The source is the profile. | 558 // Sent when a ProtocolHandlerRegistry is changed. The source is the profile. |
| 559 NOTIFICATION_PROTOCOL_HANDLER_REGISTRY_CHANGED, | 559 NOTIFICATION_PROTOCOL_HANDLER_REGISTRY_CHANGED, |
| 560 | 560 |
| 561 // Sent when the cached profile info has changed. | |
| 562 NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, | |
| 563 | |
| 564 // Sent when the cached profile has finished writing a profile picture to | |
| 565 // disk. | |
| 566 NOTIFICATION_PROFILE_CACHE_PICTURE_SAVED, | |
| 567 | |
| 568 // Sent when the browser enters or exits fullscreen mode. | 561 // Sent when the browser enters or exits fullscreen mode. |
| 569 NOTIFICATION_FULLSCREEN_CHANGED, | 562 NOTIFICATION_FULLSCREEN_CHANGED, |
| 570 | 563 |
| 571 // Sent when the FullscreenController changes, confirms, or denies mouse lock. | 564 // Sent when the FullscreenController changes, confirms, or denies mouse lock. |
| 572 // The source is the browser's FullscreenController, no details. | 565 // The source is the browser's FullscreenController, no details. |
| 573 NOTIFICATION_MOUSE_LOCK_CHANGED, | 566 NOTIFICATION_MOUSE_LOCK_CHANGED, |
| 574 | 567 |
| 575 // Sent by the PluginPrefs when there is a change of plugin enable/disable | 568 // Sent by the PluginPrefs when there is a change of plugin enable/disable |
| 576 // status. The source is the profile. | 569 // status. The source is the profile. |
| 577 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | 570 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 // Note:- | 616 // Note:- |
| 624 // Currently only Content and Chrome define and use notifications. | 617 // Currently only Content and Chrome define and use notifications. |
| 625 // Custom notifications not belonging to Content and Chrome should start | 618 // Custom notifications not belonging to Content and Chrome should start |
| 626 // from here. | 619 // from here. |
| 627 NOTIFICATION_CHROME_END, | 620 NOTIFICATION_CHROME_END, |
| 628 }; | 621 }; |
| 629 | 622 |
| 630 } // namespace chrome | 623 } // namespace chrome |
| 631 | 624 |
| 632 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 625 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |