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

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

Issue 98183011: Expose semantics of landmark and related roles for assitive technologies (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 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/file_util.h" 10 #include "base/file_util.h"
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 } 414 }
415 415
416 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTypes) { 416 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTypes) {
417 RunTest(FILE_PATH_LITERAL("input-types.html")); 417 RunTest(FILE_PATH_LITERAL("input-types.html"));
418 } 418 }
419 419
420 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLabel) { 420 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLabel) {
421 RunTest(FILE_PATH_LITERAL("label.html")); 421 RunTest(FILE_PATH_LITERAL("label.html"));
422 } 422 }
423 423
424 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLandmark) {
425 RunTest(FILE_PATH_LITERAL("landmark.html"));
426 }
427
424 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityListMarkers) { 428 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityListMarkers) {
425 RunTest(FILE_PATH_LITERAL("list-markers.html")); 429 RunTest(FILE_PATH_LITERAL("list-markers.html"));
426 } 430 }
427 431
428 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 432 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
429 AccessibilityModalDialogClosed) { 433 AccessibilityModalDialogClosed) {
430 RunTest(FILE_PATH_LITERAL("modal-dialog-closed.html")); 434 RunTest(FILE_PATH_LITERAL("modal-dialog-closed.html"));
431 } 435 }
432 436
433 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 437 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
(...skipping 13 matching lines...) Expand all
447 451
448 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 452 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
449 AccessibilityModalDialogStack) { 453 AccessibilityModalDialogStack) {
450 RunTest(FILE_PATH_LITERAL("modal-dialog-stack.html")); 454 RunTest(FILE_PATH_LITERAL("modal-dialog-stack.html"));
451 } 455 }
452 456
453 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityP) { 457 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityP) {
454 RunTest(FILE_PATH_LITERAL("p.html")); 458 RunTest(FILE_PATH_LITERAL("p.html"));
455 } 459 }
456 460
461 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityRegion) {
462 RunTest(FILE_PATH_LITERAL("region.html"));
463 }
464
457 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySelect) { 465 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySelect) {
458 RunTest(FILE_PATH_LITERAL("select.html")); 466 RunTest(FILE_PATH_LITERAL("select.html"));
459 } 467 }
460 468
461 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpan) { 469 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpan) {
462 RunTest(FILE_PATH_LITERAL("span.html")); 470 RunTest(FILE_PATH_LITERAL("span.html"));
463 } 471 }
464 472
465 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpinButton) { 473 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpinButton) {
466 RunTest(FILE_PATH_LITERAL("spinbutton.html")); 474 RunTest(FILE_PATH_LITERAL("spinbutton.html"));
(...skipping 24 matching lines...) Expand all
491 499
492 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { 500 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) {
493 RunTest(FILE_PATH_LITERAL("ul.html")); 501 RunTest(FILE_PATH_LITERAL("ul.html"));
494 } 502 }
495 503
496 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 504 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
497 RunTest(FILE_PATH_LITERAL("wbr.html")); 505 RunTest(FILE_PATH_LITERAL("wbr.html"));
498 } 506 }
499 507
500 } // namespace content 508 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698