OLD | NEW |
1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. | 1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. |
2 // limitations under the License. | 2 // limitations under the License. |
3 // See the License for the specific language governing permissions and | 3 // See the License for the specific language governing permissions and |
4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
5 // distributed under the License is distributed on an "AS-IS" BASIS, | 5 // distributed under the License is distributed on an "AS-IS" BASIS, |
6 // Unless required by applicable law or agreed to in writing, software | 6 // Unless required by applicable law or agreed to in writing, software |
7 // | 7 // |
8 // http://www.apache.org/licenses/LICENSE-2.0 | 8 // http://www.apache.org/licenses/LICENSE-2.0 |
9 // | 9 // |
10 // You may obtain a copy of the License at | 10 // You may obtain a copy of the License at |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 | 53 |
54 /** @type {boolean} */ | 54 /** @type {boolean} */ |
55 Settings.prototype.doubleSpacePeriod = false; | 55 Settings.prototype.doubleSpacePeriod = false; |
56 | 56 |
57 | 57 |
58 /** @type {boolean} */ | 58 /** @type {boolean} */ |
59 Settings.prototype.soundOnKeypress = false; | 59 Settings.prototype.soundOnKeypress = false; |
60 | 60 |
61 | 61 |
| 62 /** @type {boolean} */ |
| 63 Settings.prototype.gestureEditing = false; |
| 64 |
| 65 |
| 66 /** @type {boolean} */ |
| 67 Settings.prototype.gestureTyping = false; |
| 68 |
| 69 |
62 /** | 70 /** |
63 * The flag to control whether candidates naviagation feature is enabled. | 71 * The flag to control whether candidates naviagation feature is enabled. |
64 * | 72 * |
65 * @type {boolean} | 73 * @type {boolean} |
66 */ | 74 */ |
67 Settings.prototype.candidatesNavigation = false; | 75 Settings.prototype.candidatesNavigation = false; |
68 | 76 |
69 | 77 |
70 /** | 78 /** |
71 * Saves the preferences. | 79 * Saves the preferences. |
(...skipping 11 matching lines...) Expand all Loading... |
83 * | 91 * |
84 * @param {string} preference The name of the preference. | 92 * @param {string} preference The name of the preference. |
85 * @return {*} The value. | 93 * @return {*} The value. |
86 */ | 94 */ |
87 Settings.prototype.getPreference = function(preference) { | 95 Settings.prototype.getPreference = function(preference) { |
88 return window.localStorage.getItem(preference); | 96 return window.localStorage.getItem(preference); |
89 }; | 97 }; |
90 | 98 |
91 }); // goog.scope | 99 }); // goog.scope |
92 | 100 |
OLD | NEW |