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

Side by Side Diff: third_party/WebKit/Source/core/dom/AXObjectCache.h

Issue 1589623002: Keep track of accessibility focus across windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final suggestions Created 4 years, 10 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
OLDNEW
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 28 matching lines...) Expand all
39 class HTMLOptionElement; 39 class HTMLOptionElement;
40 class HTMLSelectElement; 40 class HTMLSelectElement;
41 class LayoutMenuList; 41 class LayoutMenuList;
42 class Page; 42 class Page;
43 43
44 class CORE_EXPORT AXObjectCache : public GarbageCollectedFinalized<AXObjectCache > { 44 class CORE_EXPORT AXObjectCache : public GarbageCollectedFinalized<AXObjectCache > {
45 WTF_MAKE_NONCOPYABLE(AXObjectCache); 45 WTF_MAKE_NONCOPYABLE(AXObjectCache);
46 public: 46 public:
47 static AXObjectCache* create(Document&); 47 static AXObjectCache* create(Document&);
48 48
49 static AXObject* focusedUIElementForPage(const Page*); 49 static AXObject* focusedObject();
50 50
51 virtual ~AXObjectCache(); 51 virtual ~AXObjectCache();
52 DEFINE_INLINE_VIRTUAL_TRACE() { } 52 DEFINE_INLINE_VIRTUAL_TRACE() { }
53 53
54 enum AXNotification { 54 enum AXNotification {
55 AXActiveDescendantChanged, 55 AXActiveDescendantChanged,
56 AXAlert, 56 AXAlert,
57 AXAriaAttributeChanged, 57 AXAriaAttributeChanged,
58 AXAutocorrectionOccured, 58 AXAutocorrectionOccured,
59 AXBlur, 59 AXBlur,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 private: 159 private:
160 explicit ScopedAXObjectCache(Document&); 160 explicit ScopedAXObjectCache(Document&);
161 161
162 RefPtrWillBePersistent<Document> m_document; 162 RefPtrWillBePersistent<Document> m_document;
163 Persistent<AXObjectCache> m_cache; 163 Persistent<AXObjectCache> m_cache;
164 }; 164 };
165 165
166 } // namespace blink 166 } // namespace blink
167 167
168 #endif 168 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698