OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "base/macros.h" |
5 #include "base/strings/string_number_conversions.h" | 6 #include "base/strings/string_number_conversions.h" |
6 #include "content/browser/accessibility/browser_accessibility.h" | 7 #include "content/browser/accessibility/browser_accessibility.h" |
7 #include "content/browser/web_contents/web_contents_impl.h" | 8 #include "content/browser/web_contents/web_contents_impl.h" |
8 #include "content/public/test/browser_test_utils.h" | 9 #include "content/public/test/browser_test_utils.h" |
9 #include "content/public/test/content_browser_test.h" | 10 #include "content/public/test/content_browser_test.h" |
10 #include "content/public/test/content_browser_test_utils.h" | 11 #include "content/public/test/content_browser_test_utils.h" |
11 #include "content/shell/browser/shell.h" | 12 #include "content/shell/browser/shell.h" |
12 #include "content/test/accessibility_browser_test_utils.h" | 13 #include "content/test/accessibility_browser_test_utils.h" |
13 #include "ui/accessibility/ax_node_data.h" | 14 #include "ui/accessibility/ax_node_data.h" |
14 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 BrowserAccessibility* child = hit->PlatformGetChild(0); | 99 BrowserAccessibility* child = hit->PlatformGetChild(0); |
99 ASSERT_NE(nullptr, child); | 100 ASSERT_NE(nullptr, child); |
100 cell_text = child->GetData().GetStringAttribute(ui::AX_ATTR_NAME); | 101 cell_text = child->GetData().GetStringAttribute(ui::AX_ATTR_NAME); |
101 VLOG(1) << "Got hover event in cell with text: " << cell_text; | 102 VLOG(1) << "Got hover event in cell with text: " << cell_text; |
102 } while (cell_text != expected_cell_text); | 103 } while (cell_text != expected_cell_text); |
103 } | 104 } |
104 } | 105 } |
105 } | 106 } |
106 | 107 |
107 } // namespace content | 108 } // namespace content |
OLD | NEW |