| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 32 #include <memory> | 32 #include <memory> |
| 33 | 33 |
| 34 typedef unsigned AXID; | 34 typedef unsigned AXID; |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class AbstractInlineTextBox; | 38 class AbstractInlineTextBox; |
| 39 class AXObject; | |
| 40 class FrameView; | 39 class FrameView; |
| 41 class HTMLCanvasElement; | 40 class HTMLCanvasElement; |
| 42 class HTMLOptionElement; | 41 class HTMLOptionElement; |
| 43 class HTMLSelectElement; | 42 class HTMLSelectElement; |
| 44 class LayoutMenuList; | 43 class LayoutMenuList; |
| 45 class LineLayoutItem; | 44 class LineLayoutItem; |
| 46 | 45 |
| 47 class CORE_EXPORT AXObjectCache | 46 class CORE_EXPORT AXObjectCache |
| 48 : public GarbageCollectedFinalized<AXObjectCache> { | 47 : public GarbageCollectedFinalized<AXObjectCache> { |
| 49 WTF_MAKE_NONCOPYABLE(AXObjectCache); | 48 WTF_MAKE_NONCOPYABLE(AXObjectCache); |
| 50 | 49 |
| 51 public: | 50 public: |
| 52 static AXObjectCache* create(Document&); | 51 static AXObjectCache* create(Document&); |
| 53 | 52 |
| 54 static AXObject* focusedObject(); | |
| 55 | |
| 56 virtual ~AXObjectCache(); | 53 virtual ~AXObjectCache(); |
| 57 DEFINE_INLINE_VIRTUAL_TRACE() {} | 54 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 58 | 55 |
| 59 enum AXNotification { | 56 enum AXNotification { |
| 60 AXActiveDescendantChanged, | 57 AXActiveDescendantChanged, |
| 61 AXAlert, | 58 AXAlert, |
| 62 AXAriaAttributeChanged, | 59 AXAriaAttributeChanged, |
| 63 AXAutocorrectionOccured, | 60 AXAutocorrectionOccured, |
| 64 AXBlur, | 61 AXBlur, |
| 65 AXCheckedStateChanged, | 62 AXCheckedStateChanged, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 private: | 171 private: |
| 175 explicit ScopedAXObjectCache(Document&); | 172 explicit ScopedAXObjectCache(Document&); |
| 176 | 173 |
| 177 Persistent<Document> m_document; | 174 Persistent<Document> m_document; |
| 178 Persistent<AXObjectCache> m_cache; | 175 Persistent<AXObjectCache> m_cache; |
| 179 }; | 176 }; |
| 180 | 177 |
| 181 } // namespace blink | 178 } // namespace blink |
| 182 | 179 |
| 183 #endif | 180 #endif |
| OLD | NEW |