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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp

Issue 2204373002: Revert "Add grid/flex layout support for <fieldset>" and "Auto-rebaseline for r409303" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « third_party/WebKit/Source/core/layout/LayoutGrid.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 515
516 if (getNode()->nodeName() == "TIME") 516 if (getNode()->nodeName() == "TIME")
517 return TimeRole; 517 return TimeRole;
518 518
519 if (isEmbeddedObject()) 519 if (isEmbeddedObject())
520 return EmbeddedObjectRole; 520 return EmbeddedObjectRole;
521 521
522 if (isHTMLHRElement(*getNode())) 522 if (isHTMLHRElement(*getNode()))
523 return SplitterRole; 523 return SplitterRole;
524 524
525 if (isFieldset()) {
526 return GroupRole;
527 }
528
529 return UnknownRole; 525 return UnknownRole;
530 } 526 }
531 527
532 AccessibilityRole AXNodeObject::determineAccessibilityRole() 528 AccessibilityRole AXNodeObject::determineAccessibilityRole()
533 { 529 {
534 if (!getNode()) 530 if (!getNode())
535 return UnknownRole; 531 return UnknownRole;
536 532
537 if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole) 533 if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole)
538 return m_ariaRole; 534 return m_ariaRole;
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after
2904 return placeholder; 2900 return placeholder;
2905 } 2901 }
2906 2902
2907 DEFINE_TRACE(AXNodeObject) 2903 DEFINE_TRACE(AXNodeObject)
2908 { 2904 {
2909 visitor->trace(m_node); 2905 visitor->trace(m_node);
2910 AXObject::trace(visitor); 2906 AXObject::trace(visitor);
2911 } 2907 }
2912 2908
2913 } // namespace blink 2909 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGrid.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698