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

Unified Diff: Source/core/accessibility/AXObject.h

Issue 670093002: Get rid of AXComputedObjectAttributeCache (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXObject.h
diff --git a/Source/core/accessibility/AXObject.h b/Source/core/accessibility/AXObject.h
index 92bffd57d4b97aeb76025cee25a1b2e5ac2cc718..beee9110c5fe03531f46c92f0d89edc9aea00da3 100644
--- a/Source/core/accessibility/AXObject.h
+++ b/Source/core/accessibility/AXObject.h
@@ -579,6 +579,13 @@ protected:
unsigned getLengthForTextRange() const { return text().length(); }
bool m_detached;
+
+private:
+ // The following cached attribute values are only valid if m_lastModificationCount matches AXObjectCacheImpl::modificationCount().
aboxhall 2014/10/23 21:48:11 What does "the following cached attribute values"
dmazzoni 2014/10/23 21:51:52 Sure. In the following changes I'm hoping to add s
+ mutable int m_lastModificationCount;
+ mutable bool m_cachedIsIgnored;
+
+ void updateCachedAttributeValuesIfNeeded() const;
};
#define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698