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

Unified Diff: ui/keyboard/resources/main.js

Issue 258063006: Use 41% of screen height as all system VK height (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 | « ui/keyboard/resources/constants.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/resources/main.js
diff --git a/ui/keyboard/resources/main.js b/ui/keyboard/resources/main.js
index c837aed2ad95aa7d9054c7c6fa15003843adc491..76306b00cc5ae1a952211e9570313aa0f9590533 100644
--- a/ui/keyboard/resources/main.js
+++ b/ui/keyboard/resources/main.js
@@ -205,14 +205,9 @@
* @return {Array.<String, number>} The bounds of the keyboard container.
*/
function getKeyboardBounds_() {
- var keyboard = $('keyboard');
- var ratio = DEFAULT_KEYBOARD_ASPECT_RATIO;
- if (keyboard.config && keyboard.config.a11ymode) {
- ratio = DEFAULT_A11Y_KEYBOARD_ASPECT_RATIO;
- }
return {
"width": screen.width,
- "height": screen.height * ratio
+ "height": screen.height * DEFAULT_KEYBOARD_ASPECT_RATIO
};
}
« no previous file with comments | « ui/keyboard/resources/constants.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698