
As per current implementation method returns a java surface variant and fills in `can_be_used_with_surface_control` argument passed to it. This change modifies it to return a surface record which contains both surface variant and `can_be_used_with_surface_control`. This also simplifies future changes we are planning to make for the linked bug. Bug: b/364201006 Change-Id: I9700823fd3a241c50b12c42dee792d35786f4510 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5870133 Reviewed-by: Camille Lamy <clamy@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Stephen Nusko <nuskos@chromium.org> Commit-Queue: Kartar Singh <kartarsingh@google.com> Cr-Commit-Position: refs/heads/main@{#1357040}