Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: content/common/accessibility_messages.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/child/websocket_bridge.cc ('k') | content/common/accessibility_node_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // IPC messages for accessibility. 5 // IPC messages for accessibility.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/accessibility_node_data.h" 9 #include "content/common/accessibility_node_data.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "content/common/view_message_enums.h" 11 #include "content/common/view_message_enums.h"
12 #include "content/public/common/common_param_traits.h" 12 #include "content/public/common/common_param_traits.h"
13 #include "ipc/ipc_message_macros.h" 13 #include "ipc/ipc_message_macros.h"
14 #include "ipc/ipc_message_utils.h" 14 #include "ipc/ipc_message_utils.h"
15 #include "ipc/ipc_param_traits.h" 15 #include "ipc/ipc_param_traits.h"
16 #include "ipc/param_traits_macros.h" 16 #include "ipc/param_traits_macros.h"
17 #include "third_party/WebKit/public/web/WebAXEnums.h" 17 #include "third_party/WebKit/public/web/WebAXEnums.h"
18 18
19 #undef IPC_MESSAGE_EXPORT 19 #undef IPC_MESSAGE_EXPORT
20 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 20 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
21 21
22 #define IPC_MESSAGE_START AccessibilityMsgStart 22 #define IPC_MESSAGE_START AccessibilityMsgStart
23 23
24 IPC_ENUM_TRAITS(WebKit::WebAXEvent) 24 IPC_ENUM_TRAITS(blink::WebAXEvent)
25 IPC_ENUM_TRAITS(WebKit::WebAXRole) 25 IPC_ENUM_TRAITS(blink::WebAXRole)
26 26
27 IPC_ENUM_TRAITS(content::AccessibilityNodeData::BoolAttribute) 27 IPC_ENUM_TRAITS(content::AccessibilityNodeData::BoolAttribute)
28 IPC_ENUM_TRAITS(content::AccessibilityNodeData::FloatAttribute) 28 IPC_ENUM_TRAITS(content::AccessibilityNodeData::FloatAttribute)
29 IPC_ENUM_TRAITS(content::AccessibilityNodeData::IntAttribute) 29 IPC_ENUM_TRAITS(content::AccessibilityNodeData::IntAttribute)
30 IPC_ENUM_TRAITS(content::AccessibilityNodeData::IntListAttribute) 30 IPC_ENUM_TRAITS(content::AccessibilityNodeData::IntListAttribute)
31 IPC_ENUM_TRAITS(content::AccessibilityNodeData::StringAttribute) 31 IPC_ENUM_TRAITS(content::AccessibilityNodeData::StringAttribute)
32 32
33 IPC_STRUCT_TRAITS_BEGIN(content::AccessibilityNodeData) 33 IPC_STRUCT_TRAITS_BEGIN(content::AccessibilityNodeData)
34 IPC_STRUCT_TRAITS_MEMBER(id) 34 IPC_STRUCT_TRAITS_MEMBER(id)
35 IPC_STRUCT_TRAITS_MEMBER(role) 35 IPC_STRUCT_TRAITS_MEMBER(role)
36 IPC_STRUCT_TRAITS_MEMBER(state) 36 IPC_STRUCT_TRAITS_MEMBER(state)
37 IPC_STRUCT_TRAITS_MEMBER(location) 37 IPC_STRUCT_TRAITS_MEMBER(location)
38 IPC_STRUCT_TRAITS_MEMBER(string_attributes) 38 IPC_STRUCT_TRAITS_MEMBER(string_attributes)
39 IPC_STRUCT_TRAITS_MEMBER(int_attributes) 39 IPC_STRUCT_TRAITS_MEMBER(int_attributes)
40 IPC_STRUCT_TRAITS_MEMBER(float_attributes) 40 IPC_STRUCT_TRAITS_MEMBER(float_attributes)
41 IPC_STRUCT_TRAITS_MEMBER(bool_attributes) 41 IPC_STRUCT_TRAITS_MEMBER(bool_attributes)
42 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes) 42 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes)
43 IPC_STRUCT_TRAITS_MEMBER(html_attributes) 43 IPC_STRUCT_TRAITS_MEMBER(html_attributes)
44 IPC_STRUCT_TRAITS_MEMBER(child_ids) 44 IPC_STRUCT_TRAITS_MEMBER(child_ids)
45 IPC_STRUCT_TRAITS_END() 45 IPC_STRUCT_TRAITS_END()
46 46
47 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) 47 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams)
48 // Vector of nodes in the tree that need to be updated before 48 // Vector of nodes in the tree that need to be updated before
49 // sending the event. 49 // sending the event.
50 IPC_STRUCT_MEMBER(std::vector<content::AccessibilityNodeData>, nodes) 50 IPC_STRUCT_MEMBER(std::vector<content::AccessibilityNodeData>, nodes)
51 51
52 // Type of event. 52 // Type of event.
53 IPC_STRUCT_MEMBER(WebKit::WebAXEvent, event_type) 53 IPC_STRUCT_MEMBER(blink::WebAXEvent, event_type)
54 54
55 // ID of the node that the event applies to. 55 // ID of the node that the event applies to.
56 IPC_STRUCT_MEMBER(int, id) 56 IPC_STRUCT_MEMBER(int, id)
57 IPC_STRUCT_END() 57 IPC_STRUCT_END()
58 58
59 // Messages sent from the browser to the renderer. 59 // Messages sent from the browser to the renderer.
60 60
61 // Relay a request from assistive technology to set focus to a given node. 61 // Relay a request from assistive technology to set focus to a given node.
62 IPC_MESSAGE_ROUTED1(AccessibilityMsg_SetFocus, 62 IPC_MESSAGE_ROUTED1(AccessibilityMsg_SetFocus,
63 int /* object id */) 63 int /* object id */)
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // Kill the renderer because we got a fatal error in the accessibility tree. 98 // Kill the renderer because we got a fatal error in the accessibility tree.
99 IPC_MESSAGE_ROUTED0(AccessibilityMsg_FatalError) 99 IPC_MESSAGE_ROUTED0(AccessibilityMsg_FatalError)
100 100
101 // Messages sent from the renderer to the browser. 101 // Messages sent from the renderer to the browser.
102 102
103 // Sent to notify the browser about renderer accessibility events. 103 // Sent to notify the browser about renderer accessibility events.
104 // The browser responds with a AccessibilityMsg_Events_ACK. 104 // The browser responds with a AccessibilityMsg_Events_ACK.
105 IPC_MESSAGE_ROUTED1( 105 IPC_MESSAGE_ROUTED1(
106 AccessibilityHostMsg_Events, 106 AccessibilityHostMsg_Events,
107 std::vector<AccessibilityHostMsg_EventParams>) 107 std::vector<AccessibilityHostMsg_EventParams>)
OLDNEW
« no previous file with comments | « content/child/websocket_bridge.cc ('k') | content/common/accessibility_node_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698