| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 virtual void Remove(LayoutObject*) = 0; | 103 virtual void Remove(LayoutObject*) = 0; |
| 104 virtual void Remove(Node*) = 0; | 104 virtual void Remove(Node*) = 0; |
| 105 virtual void Remove(AbstractInlineTextBox*) = 0; | 105 virtual void Remove(AbstractInlineTextBox*) = 0; |
| 106 | 106 |
| 107 virtual const Element* RootAXEditableElement(const Node*) = 0; | 107 virtual const Element* RootAXEditableElement(const Node*) = 0; |
| 108 | 108 |
| 109 // Called by a node when text or a text equivalent (e.g. alt) attribute is | 109 // Called by a node when text or a text equivalent (e.g. alt) attribute is |
| 110 // changed. | 110 // changed. |
| 111 virtual void TextChanged(LayoutObject*) = 0; | 111 virtual void TextChanged(LayoutObject*) = 0; |
| 112 // Called when a node has just been attached, so we can make sure we have the | 112 // Called when a node has just been attached, so we can make sure we have the |
| 113 // right subclass of AXObject. | 113 // right subclass of AXObjectImpl. |
| 114 virtual void UpdateCacheAfterNodeIsAttached(Node*) = 0; | 114 virtual void UpdateCacheAfterNodeIsAttached(Node*) = 0; |
| 115 | 115 |
| 116 virtual void HandleAttributeChanged(const QualifiedName& attr_name, | 116 virtual void HandleAttributeChanged(const QualifiedName& attr_name, |
| 117 Element*) = 0; | 117 Element*) = 0; |
| 118 virtual void HandleFocusedUIElementChanged(Node* old_focused_node, | 118 virtual void HandleFocusedUIElementChanged(Node* old_focused_node, |
| 119 Node* new_focused_node) = 0; | 119 Node* new_focused_node) = 0; |
| 120 virtual void HandleInitialFocus() = 0; | 120 virtual void HandleInitialFocus() = 0; |
| 121 virtual void HandleEditableTextContentChanged(Node*) = 0; | 121 virtual void HandleEditableTextContentChanged(Node*) = 0; |
| 122 virtual void HandleTextFormControlChanged(Node*) = 0; | 122 virtual void HandleTextFormControlChanged(Node*) = 0; |
| 123 virtual void HandleValueChanged(Node*) = 0; | 123 virtual void HandleValueChanged(Node*) = 0; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 private: | 171 private: |
| 172 explicit ScopedAXObjectCache(Document&); | 172 explicit ScopedAXObjectCache(Document&); |
| 173 | 173 |
| 174 Persistent<Document> document_; | 174 Persistent<Document> document_; |
| 175 Persistent<AXObjectCache> cache_; | 175 Persistent<AXObjectCache> cache_; |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 } // namespace blink | 178 } // namespace blink |
| 179 | 179 |
| 180 #endif | 180 #endif |
| OLD | NEW |