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

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

Issue 2000403003: [forbots] IWYU for ax_enums.h Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « ui/accessibility/ax_node_data.cc ('k') | ui/accessibility/ax_tree_combiner_unittest.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 #include "ui/accessibility/ax_enums.h"
5 #include "ui/accessibility/ax_tree.h" 6 #include "ui/accessibility/ax_tree.h"
6 #include "ui/accessibility/ax_tree_combiner.h" 7 #include "ui/accessibility/ax_tree_combiner.h"
7 #include "ui/gfx/geometry/rect_f.h" 8 #include "ui/gfx/geometry/rect_f.h"
8 9
9 namespace ui { 10 namespace ui {
10 namespace { 11 namespace {
11 12
12 // Return true if |attr| is a node ID that would need to be mapped when 13 // Return true if |attr| is a node ID that would need to be mapped when
13 // renumbering the ids in a combined tree. 14 // renumbering the ids in a combined tree.
14 bool IsNodeIdIntAttribute(AXIntAttribute attr) { 15 bool IsNodeIdIntAttribute(AXIntAttribute attr) {
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // Recurse into the child tree now, if any. 234 // Recurse into the child tree now, if any.
234 if (child_tree) 235 if (child_tree)
235 ProcessTree(child_tree); 236 ProcessTree(child_tree);
236 } 237 }
237 238
238 // Reset the transform. 239 // Reset the transform.
239 transform_ = old_transform; 240 transform_ = old_transform;
240 } 241 }
241 242
242 } // namespace ui 243 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accessibility/ax_node_data.cc ('k') | ui/accessibility/ax_tree_combiner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698