Index: third_party/google_input_tools/src/chrome/os/inputview/layouts/rowsofjp.js |
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/layouts/rowsofjp.js b/third_party/google_input_tools/src/chrome/os/inputview/layouts/rowsofjp.js |
index d25403968893ce19cfddf5e44c2d618c49230e1c..cc0e9411cf4285b03f815c310b215a62afac8110 100644 |
--- a/third_party/google_input_tools/src/chrome/os/inputview/layouts/rowsofjp.js |
+++ b/third_party/google_input_tools/src/chrome/os/inputview/layouts/rowsofjp.js |
@@ -43,63 +43,63 @@ i18n.input.chrome.inputview.layouts.RowsOfJP.create = function() { |
// Row2 and row3 |
// First linear layout at the left of the enter. |
- var tabKey = i18n.input.chrome.inputview.layouts.util.createKey({ |
+ var tabKey = util.createKey({ |
'widthInWeight': 1.5 |
}); |
- var keySequenceOf11 = i18n.input.chrome.inputview.layouts.util. |
+ var keySequenceOf11 = util. |
createKeySequence(baseKeySpec, 11); |
- var slashKey = i18n.input.chrome.inputview.layouts.util.createKey({ |
+ var slashKey = util.createKey({ |
'widthInWeight': 1.25 |
}); |
- var row2 = i18n.input.chrome.inputview.layouts.util.createLinearLayout({ |
+ var row2 = util.createLinearLayout({ |
'id': 'row2', |
'children': [tabKey, keySequenceOf11, slashKey] |
}); |
// Second linear layout at the right of the enter. |
- var capslockKey = i18n.input.chrome.inputview.layouts.util.createKey({ |
+ var capslockKey = util.createKey({ |
'widthInWeight': 1.75 |
}); |
- var keySequenceOf12 = i18n.input.chrome.inputview.layouts.util. |
+ var keySequenceOf12 = util. |
createKeySequence(baseKeySpec, 12); |
- var row3 = i18n.input.chrome.inputview.layouts.util.createLinearLayout({ |
+ var row3 = util.createLinearLayout({ |
'id': 'row3', |
'children': [capslockKey, keySequenceOf12] |
}); |
// Vertical layout contains the two rows at the left of the enter. |
- var vLayout = i18n.input.chrome.inputview.layouts.util.createVerticalLayout({ |
+ var vLayout = util.createVerticalLayout({ |
'id': 'row2-3-left', |
'children': [row2, row3] |
}); |
// Vertical layout contains enter key. |
- var enterKey = i18n.input.chrome.inputview.layouts.util.createKey({ |
+ var enterKey = util.createKey({ |
'widthInWeight': 1.25, |
'heightInWeight': 2 |
}); |
- var enterLayout = i18n.input.chrome.inputview.layouts.util. |
+ var enterLayout = util. |
createVerticalLayout({ |
'id': 'row2-3-right', |
'children': [enterKey] |
}); |
// Linear layout contains the two vertical layout. |
- var row2and3 = i18n.input.chrome.inputview.layouts.util.createLinearLayout({ |
+ var row2and3 = util.createLinearLayout({ |
'id': 'row2-3', |
'children': [vLayout, enterLayout] |
}); |
// Row4 |
- var shiftLeft = i18n.input.chrome.inputview.layouts.util.createKey({ |
+ var shiftLeft = util.createKey({ |
'widthInWeight': 2.25 |
}); |
- keySequenceOf11 = i18n.input.chrome.inputview.layouts.util.createKeySequence( |
+ keySequenceOf11 = util.createKeySequence( |
baseKeySpec, 11); |
- var shiftRight = i18n.input.chrome.inputview.layouts.util.createKey({ |
+ var shiftRight = util.createKey({ |
'widthInWeight': 1.75 |
}); |
- var row4 = i18n.input.chrome.inputview.layouts.util.createLinearLayout({ |
+ var row4 = util.createLinearLayout({ |
'id': 'row4', |
'children': [shiftLeft, keySequenceOf11, shiftRight] |
}); |