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

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

Issue 1821723002: Exposed the children of elements with role textbox in order to make rich text information available… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled Android test. Created 4 years, 8 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/modules/accessibility/AXLayoutObject.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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 return toHTMLInputElement(node)->type() == InputTypeNames::password; 915 return toHTMLInputElement(node)->type() == InputTypeNames::password;
916 } 916 }
917 917
918 bool AXNodeObject::isProgressIndicator() const 918 bool AXNodeObject::isProgressIndicator() const
919 { 919 {
920 return roleValue() == ProgressIndicatorRole; 920 return roleValue() == ProgressIndicatorRole;
921 } 921 }
922 922
923 bool AXNodeObject::isRichlyEditable() const 923 bool AXNodeObject::isRichlyEditable() const
924 { 924 {
925 return hasContentEditableAttributeSet() && !isARIATextControl(); 925 return hasContentEditableAttributeSet();
926 } 926 }
927 927
928 bool AXNodeObject::isSlider() const 928 bool AXNodeObject::isSlider() const
929 { 929 {
930 return roleValue() == SliderRole; 930 return roleValue() == SliderRole;
931 } 931 }
932 932
933 bool AXNodeObject::isNativeSlider() const 933 bool AXNodeObject::isNativeSlider() const
934 { 934 {
935 Node* node = this->getNode(); 935 Node* node = this->getNode();
(...skipping 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 return placeholder; 2759 return placeholder;
2760 } 2760 }
2761 2761
2762 DEFINE_TRACE(AXNodeObject) 2762 DEFINE_TRACE(AXNodeObject)
2763 { 2763 {
2764 visitor->trace(m_node); 2764 visitor->trace(m_node);
2765 AXObject::trace(visitor); 2765 AXObject::trace(visitor);
2766 } 2766 }
2767 2767
2768 } // namespace blink 2768 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698