OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 // Sent when a panel state changed. | 820 // Sent when a panel state changed. |
821 NOTIFICATION_PANEL_STATE_CHANGED, | 821 NOTIFICATION_PANEL_STATE_CHANGED, |
822 | 822 |
823 // Sent when the window manager's layout mode has changed. | 823 // Sent when the window manager's layout mode has changed. |
824 NOTIFICATION_LAYOUT_MODE_CHANGED, | 824 NOTIFICATION_LAYOUT_MODE_CHANGED, |
825 | 825 |
826 // Sent when the wizard's content view is destroyed. The source and details | 826 // Sent when the wizard's content view is destroyed. The source and details |
827 // are not used. | 827 // are not used. |
828 NOTIFICATION_WIZARD_CONTENT_VIEW_DESTROYED, | 828 NOTIFICATION_WIZARD_CONTENT_VIEW_DESTROYED, |
829 | 829 |
| 830 // Sent when the user want to change desktop background. |
| 831 NOTIFICATION_DESKTOP_BACKGROUND_CHANGED, |
| 832 |
830 // Sent when the screen lock state has changed. The source is | 833 // Sent when the screen lock state has changed. The source is |
831 // ScreenLocker and the details is a bool specifing that the | 834 // ScreenLocker and the details is a bool specifing that the |
832 // screen is locked. When details is a false, the source object | 835 // screen is locked. When details is a false, the source object |
833 // is being deleted, so the receiver shouldn't use the screen locker | 836 // is being deleted, so the receiver shouldn't use the screen locker |
834 // object. | 837 // object. |
835 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, | 838 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, |
836 | 839 |
837 // Sent when an attempt to acquire the public key of the owner of a chromium | 840 // Sent when an attempt to acquire the public key of the owner of a chromium |
838 // os device has succeeded. | 841 // os device has succeeded. |
839 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, | 842 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1027 // Currently only Content and Chrome define and use notifications. | 1030 // Currently only Content and Chrome define and use notifications. |
1028 // Custom notifications not belonging to Content and Chrome should start | 1031 // Custom notifications not belonging to Content and Chrome should start |
1029 // from here. | 1032 // from here. |
1030 NOTIFICATION_CHROME_END, | 1033 NOTIFICATION_CHROME_END, |
1031 }; | 1034 }; |
1032 | 1035 |
1033 } // namespace chrome | 1036 } // namespace chrome |
1034 | 1037 |
1035 | 1038 |
1036 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1039 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |