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

Unified Diff: Source/core/frame/Settings.cpp

Issue 606703003: Delete AXObjectCache when disabling accessibility setting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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: Source/core/frame/Settings.cpp
diff --git a/Source/core/frame/Settings.cpp b/Source/core/frame/Settings.cpp
index d176663e4f90a778a3bc06596d0ea323871a4e7c..4b49146ace42b3fbba6b0df37bfbe8c141c4402e 100644
--- a/Source/core/frame/Settings.cpp
+++ b/Source/core/frame/Settings.cpp
@@ -132,4 +132,13 @@ void Settings::setOpenGLMultisamplingEnabled(bool flag)
invalidate(SettingsDelegate::MultisamplingChange);
}
+void Settings::setAccessibilityEnabled(bool flag)
+{
+ if (m_accessibilityEnabled == flag)
+ return;
+
+ m_accessibilityEnabled = flag;
+ invalidate(SettingsDelegate::AccessibilityStateChange);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698