Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4314)

Unified Diff: chrome/browser/resources/vr_shell/vr_shell_ui.js

Issue 2735693006: Connect virtual keyboard to omnibox (Closed)
Patch Set: Rebase attempt 2. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/vr_shell/vk.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/vr_shell/vr_shell_ui.js
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui.js b/chrome/browser/resources/vr_shell/vr_shell_ui.js
index f5457f9cbb6f319902315ced9a75633a21c98267..b9fa59cf5b614eaf25918659e87c96b4d7af1735 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.js
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.js
@@ -35,9 +35,9 @@ var vrShellUi = (function() {
/** @const */ this.CSS_WIDTH_PIXELS = 960.0;
/** @const */ this.CSS_HEIGHT_PIXELS = 640.0;
/** @const */ this.DPR = 1.2;
- /** @const */ this.MENU_MODE_SCREEN_DISTANCE = 1.2;
- /** @const */ this.MENU_MODE_SCREEN_HEIGHT = 0.5;
- /** @const */ this.MENU_MODE_SCREEN_ELEVATION = 0.1;
+ /** @const */ this.MENU_MODE_SCREEN_DISTANCE = 2.0;
+ /** @const */ this.MENU_MODE_SCREEN_HEIGHT = 0.8;
+ /** @const */ this.MENU_MODE_SCREEN_ELEVATION = 0.2;
/** @const */ this.BACKGROUND_DISTANCE_MULTIPLIER = 1.414;
this.menuMode = false;
@@ -878,10 +878,9 @@ var vrShellUi = (function() {
class VirtualKeyboard {
constructor(contentQuadId) {
- /** @const */ this.SCENE_GROUND_SIZE = 25.0;
- /** @const */ this.SCALE = 1.8;
- /** @const */ this.ANGLE_UP = Math.PI / 6;
- /** @const */ this.Y_OFFSET = -1.0;
+ /** @const */ this.SCALE = 1.4;
+ /** @const */ this.ANGLE_UP = Math.PI / 8;
+ /** @const */ this.Y_OFFSET = -0.9;
/** @const */ this.Z_OFFSET = -1.8;
this.element = new DomUiElement('#vkb');
« no previous file with comments | « chrome/browser/resources/vr_shell/vk.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698