diff options
Diffstat (limited to 'chromium/content/common/ax_serialization_utils.h')
-rw-r--r-- | chromium/content/common/ax_serialization_utils.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/content/common/ax_serialization_utils.h b/chromium/content/common/ax_serialization_utils.h new file mode 100644 index 00000000000..3bbebac810a --- /dev/null +++ b/chromium/content/common/ax_serialization_utils.h @@ -0,0 +1,19 @@ +// Copyright 2020 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Utilities to ensure that accessibility tree serialization and deserialization +// logic is in sync. + +#ifndef CONTENT_COMMON_AX_SERIALIZATION_UTILS_H_ +#define CONTENT_COMMON_AX_SERIALIZATION_UTILS_H_ + +namespace content { + +// Returns true if page scale factor should be included in the transform on the +// root node of the AX tree. +bool AXShouldIncludePageScaleFactorInRoot(); + +} // namespace content + +#endif // CONTENT_COMMON_AX_SERIALIZATION_UTILS_H_ |