VR: fix autofill popup size

Break SetAlertDialogSize into to methods. One to set the relative
size to the main content, another one to set the absolute size.
Also added comment to hosted_platform_ui to clarify the size of
the rectangle in the model.

Bug: 863071
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:linux_vr;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: Ie102fcb00865d66052e4bb3c7817831fdcfe5dfa
Reviewed-on: https://chromium-review.googlesource.com/1132140
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Amirhossein Simjour <asimjour@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#574688}(cherry picked from commit 9d07f06bb5c43657ce38efc57039e36287eac2a6)
Reviewed-on: https://chromium-review.googlesource.com/1140554
Reviewed-by: Amirhossein Simjour <asimjour@chromium.org>
Cr-Commit-Position: refs/branch-heads/3440@{#700}
Cr-Branched-From: 010ddcfda246975d194964ccf20038ebbdec6084-refs/heads/master@{#561733}
4 files changed