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

Side by Side Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 2299283002: Re-land: Fix loading accessibility tree for child frame that's already loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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
OLDNEW
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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 } 841 }
842 842
843 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) { 843 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) {
844 RunHtmlTest(FILE_PATH_LITERAL("form.html")); 844 RunHtmlTest(FILE_PATH_LITERAL("form.html"));
845 } 845 }
846 846
847 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) { 847 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) {
848 RunHtmlTest(FILE_PATH_LITERAL("frameset.html")); 848 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
849 } 849 }
850 850
851 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
852 AccessibilityFramesetPostEnable) {
853 enable_accessibility_after_navigating_ = true;
854 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
855 }
856
851 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) { 857 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) {
852 RunHtmlTest(FILE_PATH_LITERAL("head.html")); 858 RunHtmlTest(FILE_PATH_LITERAL("head.html"));
853 } 859 }
854 860
855 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) { 861 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) {
856 RunHtmlTest(FILE_PATH_LITERAL("header.html")); 862 RunHtmlTest(FILE_PATH_LITERAL("header.html"));
857 } 863 }
858 864
859 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 865 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
860 AccessibilityHeaderInsideOtherSection) { 866 AccessibilityHeaderInsideOtherSection) {
(...skipping 14 matching lines...) Expand all
875 881
876 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) { 882 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) {
877 RunHtmlTest(FILE_PATH_LITERAL("i.html")); 883 RunHtmlTest(FILE_PATH_LITERAL("i.html"));
878 } 884 }
879 885
880 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) { 886 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) {
881 RunHtmlTest(FILE_PATH_LITERAL("iframe.html")); 887 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
882 } 888 }
883 889
884 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 890 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
891 AccessibilityIframePostEnable) {
892 enable_accessibility_after_navigating_ = true;
893 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
894 }
895
896 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
885 AccessibilityIframeCrossProcess) { 897 AccessibilityIframeCrossProcess) {
886 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html")); 898 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html"));
887 } 899 }
888 900
889 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 901 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
890 AccessibilityIframeCoordinates) { 902 AccessibilityIframeCoordinates) {
891 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html")); 903 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
892 } 904 }
893 905
894 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 906 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 // crbug.com/281952 1374 // crbug.com/281952
1363 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1375 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1364 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1376 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1365 } 1377 }
1366 1378
1367 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1379 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1368 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1380 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1369 } 1381 }
1370 1382
1371 } // namespace content 1383 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698