Commit 3da68538 authored by Amirhossein Simjour's avatar Amirhossein Simjour Committed by Commit Bot

VR: Autofill - Remove transparency of the web content

Autofill shouldn't make the content quad transparent.

Bug: 835903
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr
Change-Id: I33a3dcd02c526a24beccd3d5504fc26840e734fa
Reviewed-on: https://chromium-review.googlesource.com/1024283Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Commit-Queue: Amirhossein Simjour <asimjour@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552787}
parent b5d766c2
...@@ -888,7 +888,9 @@ void UiSceneCreator::Create2dBrowsingSubtreeRoots() { ...@@ -888,7 +888,9 @@ void UiSceneCreator::Create2dBrowsingSubtreeRoots() {
element->set_bounds_contain_children(true); element->set_bounds_contain_children(true);
element->SetTransitionedProperties({OPACITY}); element->SetTransitionedProperties({OPACITY});
element->AddBinding( element->AddBinding(
VR_BIND(bool, Model, model_, !model->hosted_platform_ui.hosted_ui_enabled, VR_BIND(bool, Model, model_,
!model->hosted_platform_ui.hosted_ui_enabled ||
model->hosted_platform_ui.floating,
UiElement, element.get(), UiElement, element.get(),
view->SetOpacity(value ? 1.0 : kModalPromptFadeOpacity))); view->SetOpacity(value ? 1.0 : kModalPromptFadeOpacity)));
scene_->AddUiElement(k2dBrowsingOpacityControlForUpdateKeyboardPrompt, scene_->AddUiElement(k2dBrowsingOpacityControlForUpdateKeyboardPrompt,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment