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

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

Issue 2447773002: Use setSequentialFocusNavigationStartingPoint in ChromeVox (Closed)
Patch Set: Links or controls 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
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
50 if (anchor_node_id != -1) { 47 if (anchor_node_id != -1) {
51 result += " anchor_node_id=" + IntToString(anchor_node_id); 48 result += " anchor_node_id=" + IntToString(anchor_node_id);
52 result += " anchor_offset=" + IntToString(anchor_offset); 49 result += " anchor_offset=" + IntToString(anchor_offset);
53 } 50 }
54 if (focus_node_id != -1) { 51 if (focus_node_id != -1) {
55 result += " focus_node_id=" + IntToString(focus_node_id); 52 result += " focus_node_id=" + IntToString(focus_node_id);
56 result += " focus_offset=" + IntToString(focus_offset); 53 result += " focus_offset=" + IntToString(focus_offset);
57 } 54 }
58 55
59 return result; 56 return result;
60 } 57 }
61 58
62 } // namespace ui 59 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698