Bug 728905 - telemetry ZoomText, YouDao Dictionary and Kazaguru, r=tbsaunde, f=surkov

This commit is contained in:
Mark Capella 2012-02-26 11:15:55 +09:00
parent 25de198b98
commit 04f62f26a0
3 changed files with 15 additions and 2 deletions

View File

@ -117,6 +117,16 @@ Compatibility::Init()
if (::GetModuleHandleW(L"OsmHooks"))
statistics::A11yConsumers(COBRA);
if (::GetModuleHandleW(L"WebFinderRemote"))
statistics::A11yConsumers(ZOOMTEXT);
if (::GetModuleHandleW(L"Kazahook"))
statistics::A11yConsumers(KAZAGURU);
if (::GetModuleHandleW(L"TextExtractorImpl32") ||
::GetModuleHandleW(L"TextExtractorImpl64"))
statistics::A11yConsumers(YOUDAO);
// Turn off new tab switching for Jaws and WE.
if (sMode & JAWSMode || sMode & WEMode) {
// Check to see if the pref for disallowing CtrlTab is already set. If so,

View File

@ -107,7 +107,10 @@ private:
WE = 3,
DOLPHIN = 4,
SEROTEK = 5,
COBRA = 6
COBRA = 6,
ZOOMTEXT = 7,
KAZAGURU = 8,
YOUDAO = 9
};
private:

View File

@ -56,7 +56,7 @@
* a11y telemetry
*/
HISTOGRAM_BOOLEAN(A11Y_INSTANTIATED, "has accessibility support been instantiated")
HISTOGRAM(A11Y_CONSUMERS, 1, 6, 7, LINEAR, "Accessibility client by enum id")
HISTOGRAM(A11Y_CONSUMERS, 1, 9, 10, LINEAR, "Accessibility client by enum id")
HISTOGRAM_BOOLEAN(A11Y_ISIMPLEDOM_USAGE, "have the ISimpleDOM* accessibility interfaces been used")
HISTOGRAM_BOOLEAN(A11Y_IATABLE_USAGE, "has the IAccessibleTable accessibility interface been used")
HISTOGRAM_BOOLEAN(A11Y_XFORMS_USAGE, "has XForms accessibility been instantiated")