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

Unified Diff: ui/views/accessibility/ax_aura_obj_cache.h

Issue 1283593006: Remove owned views from AXAuraObjCache when widget is deleted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullptr check Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/accessibility/ax_aura_obj_cache.h
diff --git a/ui/views/accessibility/ax_aura_obj_cache.h b/ui/views/accessibility/ax_aura_obj_cache.h
index f3e35a65cb702879411139a4382003702d090342..81384a177d93d4efe6d849438f65f43af37b4ff5 100644
--- a/ui/views/accessibility/ax_aura_obj_cache.h
+++ b/ui/views/accessibility/ax_aura_obj_cache.h
@@ -47,6 +47,9 @@ class VIEWS_EXPORT AXAuraObjCache {
void Remove(Widget* widget);
void Remove(aura::Window* window);
+ // Removes a view and all of its descendants from the cache.
+ void RemoveViewSubtree(View* view);
+
// Lookup a cached entry based on an id.
AXAuraObjWrapper* Get(int32 id);
« no previous file with comments | « chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc ('k') | ui/views/accessibility/ax_aura_obj_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698