OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "content/browser/renderer_host/render_view_host_impl.h" | 9 #include "content/browser/renderer_host/render_view_host_impl.h" |
10 #include "content/public/browser/notification_service.h" | 10 #include "content/public/browser/notification_service.h" |
11 #include "content/public/browser/notification_types.h" | 11 #include "content/public/browser/notification_types.h" |
12 #include "content/public/browser/render_widget_host_view.h" | 12 #include "content/public/browser/render_widget_host_view.h" |
13 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
14 #include "content/public/test/test_utils.h" | 14 #include "content/public/test/test_utils.h" |
| 15 #include "content/shell/shell.h" |
15 #include "content/test/content_browser_test.h" | 16 #include "content/test/content_browser_test.h" |
16 #include "content/test/content_browser_test_utils.h" | 17 #include "content/test/content_browser_test_utils.h" |
17 #include "content/shell/shell.h" | |
18 | 18 |
19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
20 #include <atlbase.h> | 20 #include <atlbase.h> |
21 #include <atlcom.h> | 21 #include <atlcom.h> |
22 #include "base/win/scoped_com_initializer.h" | 22 #include "base/win/scoped_com_initializer.h" |
23 #include "ui/base/win/atl_module.h" | 23 #include "ui/base/win/atl_module.h" |
24 #endif | 24 #endif |
25 | 25 |
26 // TODO(dmazzoni): Disabled accessibility tests on Win64. crbug.com/179717 | 26 // TODO(dmazzoni): Disabled accessibility tests on Win64. crbug.com/179717 |
27 #if defined(OS_WIN) && defined(ARCH_CPU_X86_64) | 27 #if defined(OS_WIN) && defined(ARCH_CPU_X86_64) |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 const AccessibilityNodeDataTreeNode& tree = GetAccessibilityNodeDataTree(); | 465 const AccessibilityNodeDataTreeNode& tree = GetAccessibilityNodeDataTree(); |
466 | 466 |
467 ASSERT_EQ(1U, tree.children.size()); | 467 ASSERT_EQ(1U, tree.children.size()); |
468 const AccessibilityNodeDataTreeNode& textbox = tree.children[0]; | 468 const AccessibilityNodeDataTreeNode& textbox = tree.children[0]; |
469 | 469 |
470 EXPECT_EQ( | 470 EXPECT_EQ( |
471 true, GetBoolAttr(textbox, AccessibilityNodeData::ATTR_CAN_SET_VALUE)); | 471 true, GetBoolAttr(textbox, AccessibilityNodeData::ATTR_CAN_SET_VALUE)); |
472 } | 472 } |
473 | 473 |
474 } // namespace content | 474 } // namespace content |
OLD | NEW |