| 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 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 /** @type {boolean} */ | 42 /** @type {boolean} */ |
| 43 Settings.prototype.autoCapital = false; | 43 Settings.prototype.autoCapital = false; |
| 44 | 44 |
| 45 | 45 |
| 46 /** @type {boolean} */ | 46 /** @type {boolean} */ |
| 47 Settings.prototype.autoCorrection = false; | 47 Settings.prototype.autoCorrection = false; |
| 48 | 48 |
| 49 | 49 |
| 50 /** @type {boolean} */ | 50 /** @type {boolean} */ |
| 51 Settings.prototype.supportCompact = false; | |
| 52 | |
| 53 | |
| 54 /** @type {boolean} */ | |
| 55 Settings.prototype.enableLongPress = true; | 51 Settings.prototype.enableLongPress = true; |
| 56 | 52 |
| 57 | 53 |
| 58 /** @type {boolean} */ | 54 /** @type {boolean} */ |
| 59 Settings.prototype.doubleSpacePeriod = false; | 55 Settings.prototype.doubleSpacePeriod = false; |
| 60 | 56 |
| 61 | 57 |
| 62 /** @type {boolean} */ | 58 /** @type {boolean} */ |
| 63 Settings.prototype.soundOnKeypress = false; | 59 Settings.prototype.soundOnKeypress = false; |
| 64 | 60 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 87 * | 83 * |
| 88 * @param {string} preference The name of the preference. | 84 * @param {string} preference The name of the preference. |
| 89 * @return {*} The value. | 85 * @return {*} The value. |
| 90 */ | 86 */ |
| 91 Settings.prototype.getPreference = function(preference) { | 87 Settings.prototype.getPreference = function(preference) { |
| 92 return window.localStorage.getItem(preference); | 88 return window.localStorage.getItem(preference); |
| 93 }; | 89 }; |
| 94 | 90 |
| 95 }); // goog.scope | 91 }); // goog.scope |
| 96 | 92 |
| OLD | NEW |