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

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

Issue 2931893002: More precise use of multiline state (Closed)
Patch Set: Remove unnecessary changes Created 3 years, 5 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 /* 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void Detach() override; 95 void Detach() override;
96 bool IsDetached() const override { return !node_; } 96 bool IsDetached() const override { return !node_; }
97 bool IsAXNodeObject() const final { return true; } 97 bool IsAXNodeObject() const final { return true; }
98 98
99 void GetSparseAXAttributes(AXSparseAttributeClient&) const override; 99 void GetSparseAXAttributes(AXSparseAttributeClient&) const override;
100 100
101 // Check object role or purpose. 101 // Check object role or purpose.
102 bool IsAnchor() const final; 102 bool IsAnchor() const final;
103 bool IsControl() const override; 103 bool IsControl() const override;
104 bool IsControllingVideoElement() const; 104 bool IsControllingVideoElement() const;
105 bool IsMultiline() const override;
105 bool IsEditable() const override { return IsNativeTextControl(); } 106 bool IsEditable() const override { return IsNativeTextControl(); }
106 bool IsEmbeddedObject() const final; 107 bool IsEmbeddedObject() const final;
107 bool IsFieldset() const final; 108 bool IsFieldset() const final;
108 bool IsHeading() const final; 109 bool IsHeading() const final;
109 bool IsHovered() const final; 110 bool IsHovered() const final;
110 bool IsImage() const final; 111 bool IsImage() const final;
111 bool IsImageButton() const; 112 bool IsImageButton() const;
112 bool IsInputImage() const final; 113 bool IsInputImage() const final;
113 bool IsLink() const override; 114 bool IsLink() const override;
114 bool IsInPageLinkTarget() const override; 115 bool IsInPageLinkTarget() const override;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 NameSources*, 240 NameSources*,
240 bool* found_text_alternative) const; 241 bool* found_text_alternative) const;
241 float StepValueForRange() const; 242 float StepValueForRange() const;
242 bool IsDescendantOfElementType(HashSet<QualifiedName>& tag_names) const; 243 bool IsDescendantOfElementType(HashSet<QualifiedName>& tag_names) const;
243 String PlaceholderFromNativeAttribute() const; 244 String PlaceholderFromNativeAttribute() const;
244 }; 245 };
245 246
246 } // namespace blink 247 } // namespace blink
247 248
248 #endif // AXNodeObject_h 249 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698