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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 }; | 990 }; |
991 | 991 |
992 struct ViewHostMsg_AccessibilityNotification_Params { | 992 struct ViewHostMsg_AccessibilityNotification_Params { |
993 enum NotificationType { | 993 enum NotificationType { |
994 // The node checked state has changed. | 994 // The node checked state has changed. |
995 NOTIFICATION_TYPE_CHECK_STATE_CHANGED, | 995 NOTIFICATION_TYPE_CHECK_STATE_CHANGED, |
996 | 996 |
997 // The node tree structure has changed. | 997 // The node tree structure has changed. |
998 NOTIFICATION_TYPE_CHILDREN_CHANGED, | 998 NOTIFICATION_TYPE_CHILDREN_CHANGED, |
999 | 999 |
| 1000 // The node in focus has changed. |
| 1001 NOTIFICATION_TYPE_FOCUS_CHANGED, |
| 1002 |
| 1003 // The document node has loaded. |
| 1004 NOTIFICATION_TYPE_LOAD_COMPLETE, |
| 1005 |
1000 // The node value has changed. | 1006 // The node value has changed. |
1001 NOTIFICATION_TYPE_VALUE_CHANGED, | 1007 NOTIFICATION_TYPE_VALUE_CHANGED, |
1002 }; | 1008 }; |
1003 | 1009 |
1004 // Type of notification. | 1010 // Type of notification. |
1005 NotificationType notification_type; | 1011 NotificationType notification_type; |
1006 | 1012 |
1007 // The accessibility node tree. | 1013 // The accessibility node tree. |
1008 webkit_glue::WebAccessibility acc_obj; | 1014 webkit_glue::WebAccessibility acc_obj; |
1009 }; | 1015 }; |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1295 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
1290 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1296 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
1291 static void Write(Message* m, const param_type& p); | 1297 static void Write(Message* m, const param_type& p); |
1292 static bool Read(const Message* m, void** iter, param_type* p); | 1298 static bool Read(const Message* m, void** iter, param_type* p); |
1293 static void Log(const param_type& p, std::string* l); | 1299 static void Log(const param_type& p, std::string* l); |
1294 }; | 1300 }; |
1295 | 1301 |
1296 } // namespace IPC | 1302 } // namespace IPC |
1297 | 1303 |
1298 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1304 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |