| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library trydart.settings; | 5 library trydart.settings; |
| 6 | 6 |
| 7 import 'user_option.dart'; | 7 import 'user_option.dart'; |
| 8 | 8 |
| 9 const BooleanUserOption _alwaysRunInWorker = | 9 const BooleanUserOption _alwaysRunInWorker = |
| 10 const BooleanUserOption('alwaysRunInWorker'); | 10 const BooleanUserOption('alwaysRunInWorker'); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 const BooleanUserOption _onlyAnalyze = | 36 const BooleanUserOption _onlyAnalyze = |
| 37 const BooleanUserOption('onlyAnalyze'); | 37 const BooleanUserOption('onlyAnalyze'); |
| 38 | 38 |
| 39 bool get onlyAnalyze => _onlyAnalyze.value; | 39 bool get onlyAnalyze => _onlyAnalyze.value; |
| 40 | 40 |
| 41 void set onlyAnalyze(bool b) { | 41 void set onlyAnalyze(bool b) { |
| 42 _onlyAnalyze.value = b; | 42 _onlyAnalyze.value = b; |
| 43 } | 43 } |
| 44 | 44 |
| 45 const BooleanUserOption _enableDartMind = | 45 const BooleanUserOption _enableDartMind = |
| 46 const BooleanUserOption('enableDartMind'); | 46 const BooleanUserOption('enableDartMind', isHidden: true); |
| 47 | 47 |
| 48 bool get enableDartMind => _enableDartMind.value; | 48 bool get enableDartMind => _enableDartMind.value; |
| 49 | 49 |
| 50 void set enableDartMind(bool b) { | 50 void set enableDartMind(bool b) { |
| 51 _enableDartMind.value = b; | 51 _enableDartMind.value = b; |
| 52 } | 52 } |
| 53 | 53 |
| 54 const BooleanUserOption _compilationPaused = | 54 const BooleanUserOption _compilationPaused = |
| 55 const BooleanUserOption('compilationPaused'); | 55 const BooleanUserOption('compilationPaused'); |
| 56 | 56 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 _compilationPaused, | 110 _compilationPaused, |
| 111 incrementalCompilation, | 111 incrementalCompilation, |
| 112 live, | 112 live, |
| 113 enableCodeCompletion, | 113 enableCodeCompletion, |
| 114 _codeFont, | 114 _codeFont, |
| 115 _theme, | 115 _theme, |
| 116 _currentSample, | 116 _currentSample, |
| 117 alwaysRunInIframe, | 117 alwaysRunInIframe, |
| 118 communicateViaBlobs, | 118 communicateViaBlobs, |
| 119 ]; | 119 ]; |
| OLD | NEW |