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

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

Issue 1181613002: Added check for leaking AXObjects Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/resources/leak-check.js ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « LayoutTests/resources/leak-check.js ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698