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

Side by Side Diff: ui/accessibility/ax_action_data.h

Issue 2748463003: Generalize the HIT_TEST accessibility action so that it can send any event. (Closed)
Patch Set: Use ParseAXEvent Created 3 years, 9 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 | « third_party/closure_compiler/externs/automation.js ('k') | ui/accessibility/ax_action_data.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 UI_ACCESSIBILITY_AX_ACTION_DATA_H_ 5 #ifndef UI_ACCESSIBILITY_AX_ACTION_DATA_H_
6 #define UI_ACCESSIBILITY_AX_ACTION_DATA_H_ 6 #define UI_ACCESSIBILITY_AX_ACTION_DATA_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/accessibility/ax_enums.h" 9 #include "ui/accessibility/ax_enums.h"
10 #include "ui/accessibility/ax_export.h" 10 #include "ui/accessibility/ax_export.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 int focus_offset; 46 int focus_offset;
47 47
48 // The target rect for the action. 48 // The target rect for the action.
49 gfx::Rect target_rect; 49 gfx::Rect target_rect;
50 50
51 // The target point for the action. 51 // The target point for the action.
52 gfx::Point target_point; 52 gfx::Point target_point;
53 53
54 // The new value for a node, for the SET_VALUE action. 54 // The new value for a node, for the SET_VALUE action.
55 base::string16 value; 55 base::string16 value;
56
57 // The event to fire in response to a HIT_TEST action.
58 AXEvent hit_test_event_to_fire;
56 }; 59 };
57 60
58 } // namespace ui 61 } // namespace ui
59 62
60 #endif // UI_ACCESSIBILITY_AX_ACTION_DATA_H_ 63 #endif // UI_ACCESSIBILITY_AX_ACTION_DATA_H_
OLDNEW
« no previous file with comments | « third_party/closure_compiler/externs/automation.js ('k') | ui/accessibility/ax_action_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698