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

Side by Side Diff: content/public/common/common_param_traits_macros.h

Issue 1151523009: Forward accessibility events to the automation extension process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@step1
Patch Set: Handle case where RenderThread destroys AutomationMessageFilter first Created 5 years, 6 months 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
« no previous file with comments | « content/common/accessibility_messages.h ('k') | extensions/browser/extension_function.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 // Singly or Multiply-included shared traits file depending on circumstances. 5 // Singly or Multiply-included shared traits file depending on circumstances.
6 // This allows the use of IPC serialization macros in more than one IPC message 6 // This allows the use of IPC serialization macros in more than one IPC message
7 // file. 7 // file.
8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
10 10
11 #include "content/public/common/console_message_level.h" 11 #include "content/public/common/console_message_level.h"
12 #include "content/public/common/referrer.h" 12 #include "content/public/common/referrer.h"
13 #include "content/public/common/security_style.h" 13 #include "content/public/common/security_style.h"
14 #include "content/public/common/ssl_status.h" 14 #include "content/public/common/ssl_status.h"
15 #include "content/public/common/web_preferences.h" 15 #include "content/public/common/web_preferences.h"
16 #include "content/public/common/webplugininfo.h" 16 #include "content/public/common/webplugininfo.h"
17 #include "ipc/ipc_message_macros.h" 17 #include "ipc/ipc_message_macros.h"
18 #include "net/base/network_change_notifier.h" 18 #include "net/base/network_change_notifier.h"
19 #include "net/base/request_priority.h" 19 #include "net/base/request_priority.h"
20 #include "third_party/WebKit/public/platform/WebPoint.h" 20 #include "third_party/WebKit/public/platform/WebPoint.h"
21 #include "third_party/WebKit/public/platform/WebRect.h" 21 #include "third_party/WebKit/public/platform/WebRect.h"
22 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 22 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
23 #include "third_party/WebKit/public/platform/WebURLRequest.h" 23 #include "third_party/WebKit/public/platform/WebURLRequest.h"
24 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 24 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
25 #include "ui/accessibility/ax_node_data.h"
26 #include "ui/accessibility/ax_tree_update.h"
25 #include "ui/base/page_transition_types.h" 27 #include "ui/base/page_transition_types.h"
26 #include "ui/base/window_open_disposition.h" 28 #include "ui/base/window_open_disposition.h"
29 #include "ui/gfx/ipc/gfx_param_traits.h"
27 30
28 #undef IPC_MESSAGE_EXPORT 31 #undef IPC_MESSAGE_EXPORT
29 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 32 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
30 33
31 IPC_ENUM_TRAITS_VALIDATE(ui::PageTransition, 34 IPC_ENUM_TRAITS_VALIDATE(ui::PageTransition,
32 ((value & 35 ((value &
33 ui::PageTransition::PAGE_TRANSITION_CORE_MASK) <= 36 ui::PageTransition::PAGE_TRANSITION_CORE_MASK) <=
34 ui::PageTransition::PAGE_TRANSITION_LAST_CORE)) 37 ui::PageTransition::PAGE_TRANSITION_LAST_CORE))
35 IPC_ENUM_TRAITS_MAX_VALUE(net::NetworkChangeNotifier::ConnectionType, 38 IPC_ENUM_TRAITS_MAX_VALUE(net::NetworkChangeNotifier::ConnectionType,
36 net::NetworkChangeNotifier::CONNECTION_LAST) 39 net::NetworkChangeNotifier::CONNECTION_LAST)
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 IPC_STRUCT_TRAITS_MEMBER(menuBarVisible) 240 IPC_STRUCT_TRAITS_MEMBER(menuBarVisible)
238 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) 241 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible)
239 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) 242 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible)
240 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) 243 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible)
241 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) 244 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible)
242 IPC_STRUCT_TRAITS_MEMBER(resizable) 245 IPC_STRUCT_TRAITS_MEMBER(resizable)
243 IPC_STRUCT_TRAITS_MEMBER(fullscreen) 246 IPC_STRUCT_TRAITS_MEMBER(fullscreen)
244 IPC_STRUCT_TRAITS_MEMBER(dialog) 247 IPC_STRUCT_TRAITS_MEMBER(dialog)
245 IPC_STRUCT_TRAITS_END() 248 IPC_STRUCT_TRAITS_END()
246 249
250 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST)
251 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST)
252
253 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST)
254 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST)
255 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST)
256 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute,
257 ui::AX_INT_LIST_ATTRIBUTE_LAST)
258 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST)
259
260 IPC_STRUCT_TRAITS_BEGIN(ui::AXNodeData)
261 IPC_STRUCT_TRAITS_MEMBER(id)
262 IPC_STRUCT_TRAITS_MEMBER(role)
263 IPC_STRUCT_TRAITS_MEMBER(state)
264 IPC_STRUCT_TRAITS_MEMBER(location)
265 IPC_STRUCT_TRAITS_MEMBER(string_attributes)
266 IPC_STRUCT_TRAITS_MEMBER(int_attributes)
267 IPC_STRUCT_TRAITS_MEMBER(float_attributes)
268 IPC_STRUCT_TRAITS_MEMBER(bool_attributes)
269 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes)
270 IPC_STRUCT_TRAITS_MEMBER(html_attributes)
271 IPC_STRUCT_TRAITS_MEMBER(child_ids)
272 IPC_STRUCT_TRAITS_END()
273
274 IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeUpdate)
275 IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear)
276 IPC_STRUCT_TRAITS_MEMBER(nodes)
277 IPC_STRUCT_TRAITS_END()
278
247 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 279 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/common/accessibility_messages.h ('k') | extensions/browser/extension_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698