 Chromium Code Reviews
 Chromium Code Reviews 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
    
  
    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| OLD | NEW | 
|---|---|
| 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 Loading... | |
| 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 isContentRichlyEditable() const override; | |
| 
dmazzoni
2015/06/04 03:45:26
As I said in the other change, maybe just isRichly
 | |
| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 227 VisibleSelection selection() const; | 228 VisibleSelection selection() const; | 
| 228 int indexForVisiblePosition(const VisiblePosition&) const; | 229 int indexForVisiblePosition(const VisiblePosition&) const; | 
| 229 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi ldrenVector&) const; | 230 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi ldrenVector&) const; | 
| 230 }; | 231 }; | 
| 231 | 232 | 
| 232 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 233 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 
| 233 | 234 | 
| 234 } // namespace blink | 235 } // namespace blink | 
| 235 | 236 | 
| 236 #endif // AXLayoutObject_h | 237 #endif // AXLayoutObject_h | 
| OLD | NEW |