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

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

Issue 2479893002: Revert of Use setSequentialFocusNavigationStartingPoint in ChromeVox (Closed)
Patch Set: Created 4 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
« no previous file with comments | « ui/accessibility/PRESUBMIT.py ('k') | ui/accessibility/ax_enums.idl » ('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 #include "ui/accessibility/ax_action_data.h" 5 #include "ui/accessibility/ax_action_data.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 26 matching lines...) Expand all
37 37
38 if (target_node_id != -1) 38 if (target_node_id != -1)
39 result += " target_node_id=" + IntToString(target_node_id); 39 result += " target_node_id=" + IntToString(target_node_id);
40 40
41 if (flags & (1 << ui::AX_ACTION_FLAGS_REQUEST_IMAGES)) 41 if (flags & (1 << ui::AX_ACTION_FLAGS_REQUEST_IMAGES))
42 result += " flag_request_images"; 42 result += " flag_request_images";
43 43
44 if (flags & (1 << ui::AX_ACTION_FLAGS_REQUEST_INLINE_TEXT_BOXES)) 44 if (flags & (1 << ui::AX_ACTION_FLAGS_REQUEST_INLINE_TEXT_BOXES))
45 result += " flag_request_inline_text_boxes"; 45 result += " flag_request_inline_text_boxes";
46 46
47 if (flags & (1 << ui::AX_ACTION_FLAGS_SET_SEQUENTIAL_FOCUS_NAVIGATION_POINT))
48 result += " flag_set_sequential_focus_navigation_point";
49
47 if (anchor_node_id != -1) { 50 if (anchor_node_id != -1) {
48 result += " anchor_node_id=" + IntToString(anchor_node_id); 51 result += " anchor_node_id=" + IntToString(anchor_node_id);
49 result += " anchor_offset=" + IntToString(anchor_offset); 52 result += " anchor_offset=" + IntToString(anchor_offset);
50 } 53 }
51 if (focus_node_id != -1) { 54 if (focus_node_id != -1) {
52 result += " focus_node_id=" + IntToString(focus_node_id); 55 result += " focus_node_id=" + IntToString(focus_node_id);
53 result += " focus_offset=" + IntToString(focus_offset); 56 result += " focus_offset=" + IntToString(focus_offset);
54 } 57 }
55 58
56 return result; 59 return result;
57 } 60 }
58 61
59 } // namespace ui 62 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accessibility/PRESUBMIT.py ('k') | ui/accessibility/ax_enums.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698