diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 17:04:35 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 17:04:35 +0000 |
commit | 2b8002791e925dcdab88ebe1b74eb416f3b2d585 (patch) | |
tree | 3a7cdaad36988199d0499e12d7b561b31806ed87 /chrome/browser/extensions/extension_accessibility_api.cc | |
parent | bf767417d66c4d54761dd619cfb93838bdc2353a (diff) | |
download | chromium_src-2b8002791e925dcdab88ebe1b74eb416f3b2d585.zip chromium_src-2b8002791e925dcdab88ebe1b74eb416f3b2d585.tar.gz chromium_src-2b8002791e925dcdab88ebe1b74eb416f3b2d585.tar.bz2 |
Add support for more types of controls and events to GTK implementation of
accessibility extension API. Enable accessibility API for all subdialogs
of the main Options dialog.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/651037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_accessibility_api.cc')
-rw-r--r-- | chrome/browser/extensions/extension_accessibility_api.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_accessibility_api.cc b/chrome/browser/extensions/extension_accessibility_api.cc index 24428af..2ea3775 100644 --- a/chrome/browser/extensions/extension_accessibility_api.cc +++ b/chrome/browser/extensions/extension_accessibility_api.cc @@ -5,6 +5,7 @@ #include "chrome/browser/extensions/extension_tabs_module.h" #include "base/json/json_writer.h" +#include "base/stl_util-inl.h" #include "base/string_util.h" #include "base/values.h" #include "chrome/browser/browser.h" @@ -38,6 +39,11 @@ ExtensionAccessibilityEventRouter* return Singleton<ExtensionAccessibilityEventRouter>::get(); } +ExtensionAccessibilityEventRouter::~ExtensionAccessibilityEventRouter() { + STLDeleteElements(&on_enabled_listeners_); + STLDeleteElements(&on_disabled_listeners_); +} + void ExtensionAccessibilityEventRouter::ObserveProfile(Profile* profile) { last_focused_control_dict_.Clear(); |