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

Side by Side Diff: Source/modules/accessibility/AXLayoutObject.h

Issue 1156353003: Added ability to distinguished between rich and plain text editables on accessibility objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed to isRichlyEditable. Created 5 years, 6 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 | « no previous file | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | 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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Overridden from AXObject. 78 // Overridden from AXObject.
79 // 79 //
80 80
81 virtual void init() override; 81 virtual void init() override;
82 virtual void detach() override; 82 virtual void detach() override;
83 virtual bool isDetached() const override { return !m_layoutObject; } 83 virtual bool isDetached() const override { return !m_layoutObject; }
84 virtual bool isAXLayoutObject() const override { return true; } 84 virtual bool isAXLayoutObject() const override { return true; }
85 85
86 // Check object role or purpose. 86 // Check object role or purpose.
87 virtual bool isAttachment() const override; 87 virtual bool isAttachment() const override;
88 virtual bool isRichlyEditable() const override;
88 virtual bool isLinked() const override; 89 virtual bool isLinked() const override;
89 virtual bool isLoaded() const override; 90 virtual bool isLoaded() const override;
90 virtual bool isOffScreen() const override; 91 virtual bool isOffScreen() const override;
91 virtual bool isReadOnly() const override; 92 virtual bool isReadOnly() const override;
92 virtual bool isVisited() const override; 93 virtual bool isVisited() const override;
93 94
94 // Check object state. 95 // Check object state.
95 virtual bool isFocused() const override; 96 virtual bool isFocused() const override;
96 virtual bool isSelected() const override; 97 virtual bool isSelected() const override;
97 98
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 LayoutRect computeElementRect() const; 227 LayoutRect computeElementRect() const;
227 VisibleSelection selection() const; 228 VisibleSelection selection() const;
228 int indexForVisiblePosition(const VisiblePosition&) const; 229 int indexForVisiblePosition(const VisiblePosition&) const;
229 }; 230 };
230 231
231 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); 232 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject());
232 233
233 } // namespace blink 234 } // namespace blink
234 235
235 #endif // AXLayoutObject_h 236 #endif // AXLayoutObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698