OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
10 | 10 |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 | 840 |
841 #if defined(OS_CHROMEOS) | 841 #if defined(OS_CHROMEOS) |
842 // Sent when WebSocketProxy started accepting connections. | 842 // Sent when WebSocketProxy started accepting connections. |
843 NOTIFICATION_WEB_SOCKET_PROXY_STARTED, | 843 NOTIFICATION_WEB_SOCKET_PROXY_STARTED, |
844 #endif | 844 #endif |
845 | 845 |
846 // Sent when a new web store promo has been loaded. | 846 // Sent when a new web store promo has been loaded. |
847 NOTIFICATION_WEB_STORE_PROMO_LOADED, | 847 NOTIFICATION_WEB_STORE_PROMO_LOADED, |
848 | 848 |
849 #if defined(TOUCH_UI) | 849 #if defined(TOUCH_UI) |
| 850 // Sent when the keyboard visibility has changed. Used for testing purposes |
| 851 // only. Source is the keyboard manager, and Details is a boolean indicating |
| 852 // whether the keyboard is visibile or not. |
| 853 NOTIFICATION_KEYBOARD_VISIBILITY_CHANGED, |
| 854 |
850 // Sent when an API for hiding the keyboard is invoked from JavaScript code. | 855 // Sent when an API for hiding the keyboard is invoked from JavaScript code. |
851 NOTIFICATION_HIDE_KEYBOARD_INVOKED, | 856 NOTIFICATION_HIDE_KEYBOARD_INVOKED, |
852 | 857 |
853 // Sent when an API for set height of the keyboard is invoked from | 858 // Sent when an API for set height of the keyboard is invoked from |
854 // JavaScript code. | 859 // JavaScript code. |
855 NOTIFICATION_SET_KEYBOARD_HEIGHT_INVOKED, | 860 NOTIFICATION_SET_KEYBOARD_HEIGHT_INVOKED, |
856 | 861 |
857 // Sent when an editable element is touched, such as text box, password | 862 // Sent when an editable element is touched, such as text box, password |
858 // field, and omnibox. | 863 // field, and omnibox. |
859 NOTIFICATION_EDITABLE_ELEMENT_TOUCHED, | 864 NOTIFICATION_EDITABLE_ELEMENT_TOUCHED, |
(...skipping 10 matching lines...) Expand all Loading... |
870 // Currently only Content and Chrome define and use notifications. | 875 // Currently only Content and Chrome define and use notifications. |
871 // Custom notifications not belonging to Content and Chrome should start | 876 // Custom notifications not belonging to Content and Chrome should start |
872 // from here. | 877 // from here. |
873 NOTIFICATION_CHROME_END, | 878 NOTIFICATION_CHROME_END, |
874 }; | 879 }; |
875 | 880 |
876 } // namespace chrome | 881 } // namespace chrome |
877 | 882 |
878 | 883 |
879 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 884 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |