Reland "cros: Fix capturing orientation"

This is a reland of 099f851f8ccda3b642dcbdf270d251b4d6aee576

Original change's description:
> cros: Fix capturing orientation
>
> Instead of setting the rotation as part of the transform on
> ash root window, call viz SetDisplayTransformHint so that
> capturing code as a consumer of viz could get the correct
> orientation.
>
> Bug: 847693
> Change-Id: Id70f91dc84fc9274145d5a160a51b8c7fa50deed
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825892
> Reviewed-by: kylechar <[email protected]>
> Reviewed-by: Scott Violet <[email protected]>
> Reviewed-by: Khushal <[email protected]>
> Reviewed-by: Mitsuru Oshima <[email protected]>
> Commit-Queue: Xiyuan Xia <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#707004}

Bug: 847693, 1016672, 1016980
Change-Id: If609cdaab06874c5b5b4a7fd623ecc00077c0351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1876231
Reviewed-by: Mitsuru Oshima <[email protected]>
Reviewed-by: Khushal <[email protected]>
Reviewed-by: kylechar <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Commit-Queue: Xiyuan Xia <[email protected]>
Cr-Commit-Position: refs/heads/master@{#710861}
diff --git a/ash/host/root_window_transformer.h b/ash/host/root_window_transformer.h
index 66ebd0bae..e7c73a1 100644
--- a/ash/host/root_window_transformer.h
+++ b/ash/host/root_window_transformer.h
@@ -38,6 +38,10 @@
   // Returns the insets that specifies the effective area of
   // the host window.
   virtual gfx::Insets GetHostInsets() const = 0;
+
+  // Returns the transform for applying host insets and magnifier scale. It is
+  // similar to GetTransform() but without the screen rotation.
+  virtual gfx::Transform GetInsetsAndScaleTransform() const = 0;
 };
 
 }  // namespace ash