| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of chrome; | 5 part of chrome; |
| 6 | 6 |
| 7 // chrome.app | 7 // chrome.app |
| 8 class API_ChromeApp { | 8 class API_ChromeApp { |
| 9 /* | 9 /* |
| 10 * JS Variable | 10 * JS Variable |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 var file_system_object = JS('', '#.fileSystem', this._jsObject); | 62 var file_system_object = JS('', '#.fileSystem', this._jsObject); |
| 63 if (file_system_object == null) | 63 if (file_system_object == null) |
| 64 throw new UnsupportedError('Not supported by current browser.'); | 64 throw new UnsupportedError('Not supported by current browser.'); |
| 65 fileSystem = new API_file_system(file_system_object); | 65 fileSystem = new API_file_system(file_system_object); |
| 66 } | 66 } |
| 67 } | 67 } |
| 68 | 68 |
| 69 // The final chrome objects | 69 // The final chrome objects |
| 70 final API_Chrome chrome = new API_Chrome(); | 70 final API_Chrome chrome = new API_Chrome(); |
| OLD | NEW |