| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 class HTMLSelectElement; | 38 class HTMLSelectElement; |
| 39 class LayoutMenuList; | 39 class LayoutMenuList; |
| 40 class Page; | 40 class Page; |
| 41 class Widget; | 41 class Widget; |
| 42 | 42 |
| 43 class CORE_EXPORT AXObjectCache { | 43 class CORE_EXPORT AXObjectCache { |
| 44 WTF_MAKE_NONCOPYABLE(AXObjectCache); WTF_MAKE_FAST_ALLOCATED(AXObjectCache); | 44 WTF_MAKE_NONCOPYABLE(AXObjectCache); WTF_MAKE_FAST_ALLOCATED(AXObjectCache); |
| 45 public: | 45 public: |
| 46 static AXObjectCache* create(Document&); | 46 static AXObjectCache* create(Document&); |
| 47 | 47 |
| 48 static AXObject* focusedUIElementForPage(const Page*); | 48 static unsigned numberOfLiveAXObjects(); |
| 49 | 49 |
| 50 virtual ~AXObjectCache(); | 50 virtual ~AXObjectCache(); |
| 51 | 51 |
| 52 enum AXNotification { | 52 enum AXNotification { |
| 53 AXActiveDescendantChanged, | 53 AXActiveDescendantChanged, |
| 54 AXAlert, | 54 AXAlert, |
| 55 AXAriaAttributeChanged, | 55 AXAriaAttributeChanged, |
| 56 AXAutocorrectionOccured, | 56 AXAutocorrectionOccured, |
| 57 AXBlur, | 57 AXBlur, |
| 58 AXCheckedStateChanged, | 58 AXCheckedStateChanged, |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 private: | 153 private: |
| 154 Document& m_document; | 154 Document& m_document; |
| 155 AXObjectCache* m_cache; | 155 AXObjectCache* m_cache; |
| 156 bool m_isScoped; | 156 bool m_isScoped; |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 } | 159 } |
| 160 | 160 |
| 161 #endif | 161 #endif |
| OLD | NEW |