OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_RENDER_MESSAGES_PARAMS_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
977 NOTIFICATION_TYPE_CHILDREN_CHANGED, | 977 NOTIFICATION_TYPE_CHILDREN_CHANGED, |
978 | 978 |
979 // The node in focus has changed. | 979 // The node in focus has changed. |
980 NOTIFICATION_TYPE_FOCUS_CHANGED, | 980 NOTIFICATION_TYPE_FOCUS_CHANGED, |
981 | 981 |
982 // The document node has loaded. | 982 // The document node has loaded. |
983 NOTIFICATION_TYPE_LOAD_COMPLETE, | 983 NOTIFICATION_TYPE_LOAD_COMPLETE, |
984 | 984 |
985 // The node value has changed. | 985 // The node value has changed. |
986 NOTIFICATION_TYPE_VALUE_CHANGED, | 986 NOTIFICATION_TYPE_VALUE_CHANGED, |
| 987 |
| 988 // The text cursor or selection changed. |
| 989 NOTIFICATION_TYPE_SELECTED_TEXT_CHANGED, |
987 }; | 990 }; |
988 | 991 |
989 // Type of notification. | 992 // Type of notification. |
990 NotificationType notification_type; | 993 NotificationType notification_type; |
991 | 994 |
992 // The accessibility node tree. | 995 // The accessibility node tree. |
993 webkit_glue::WebAccessibility acc_obj; | 996 webkit_glue::WebAccessibility acc_obj; |
994 }; | 997 }; |
995 | 998 |
996 namespace IPC { | 999 namespace IPC { |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1269 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
1267 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1270 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
1268 static void Write(Message* m, const param_type& p); | 1271 static void Write(Message* m, const param_type& p); |
1269 static bool Read(const Message* m, void** iter, param_type* p); | 1272 static bool Read(const Message* m, void** iter, param_type* p); |
1270 static void Log(const param_type& p, std::string* l); | 1273 static void Log(const param_type& p, std::string* l); |
1271 }; | 1274 }; |
1272 | 1275 |
1273 } // namespace IPC | 1276 } // namespace IPC |
1274 | 1277 |
1275 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1278 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |