
Apply page scale factor when passing values from CachingAsyncHitTest to HitTest for the background asynchronous hit test. Add a test covering the scenario and rename a few existing tests for consistency and clarity. Bug: 2140198 Change-Id: I2a2b592a76b9ffc96a174668e93ce0cc6fbc0400 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146536 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/master@{#763399}
20 lines
621 B
C++
20 lines
621 B
C++
// 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_
|