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

Side by Side Diff: dart/site/try/src/settings.dart

Issue 535883002: Use JavaScript to detect if Selection.modify is available. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const BooleanUserOption('incrementalCompilation'); 94 const BooleanUserOption('incrementalCompilation');
95 95
96 const BooleanUserOption live = const BooleanUserOption('live', isHidden: true); 96 const BooleanUserOption live = const BooleanUserOption('live', isHidden: true);
97 97
98 const BooleanUserOption alwaysRunInIframe = 98 const BooleanUserOption alwaysRunInIframe =
99 const BooleanUserOption('alwaysRunInIframe', isHidden: true); 99 const BooleanUserOption('alwaysRunInIframe', isHidden: true);
100 100
101 const BooleanUserOption communicateViaBlobs = 101 const BooleanUserOption communicateViaBlobs =
102 const BooleanUserOption('communicateViaBlobs', isHidden: true); 102 const BooleanUserOption('communicateViaBlobs', isHidden: true);
103 103
104 const BooleanUserOption hasSelectionModify =
105 const BooleanUserOption('hasSelectionModify', isHidden: true);
106
104 const List<UserOption> options = const <UserOption>[ 107 const List<UserOption> options = const <UserOption>[
105 _alwaysRunInWorker, 108 _alwaysRunInWorker,
106 _verboseCompiler, 109 _verboseCompiler,
107 _minified, 110 _minified,
108 _onlyAnalyze, 111 _onlyAnalyze,
109 _enableDartMind, 112 _enableDartMind,
110 _compilationPaused, 113 _compilationPaused,
111 incrementalCompilation, 114 incrementalCompilation,
112 live, 115 live,
113 enableCodeCompletion, 116 enableCodeCompletion,
114 _codeFont, 117 _codeFont,
115 _theme, 118 _theme,
116 _currentSample, 119 _currentSample,
117 alwaysRunInIframe, 120 alwaysRunInIframe,
118 communicateViaBlobs, 121 communicateViaBlobs,
122 hasSelectionModify,
119 ]; 123 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698