mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 728905 - telemetry ZoomText, YouDao Dictionary and Kazaguru, r=tbsaunde, f=surkov
This commit is contained in:
parent
25de198b98
commit
04f62f26a0
@ -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,
|
||||
|
@ -107,7 +107,10 @@ private:
|
||||
WE = 3,
|
||||
DOLPHIN = 4,
|
||||
SEROTEK = 5,
|
||||
COBRA = 6
|
||||
COBRA = 6,
|
||||
ZOOMTEXT = 7,
|
||||
KAZAGURU = 8,
|
||||
YOUDAO = 9
|
||||
};
|
||||
|
||||
private:
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user