| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * SuggestAppsDialog contains a list box to select an app to be opened the file | 8 * SuggestAppsDialog contains a list box to select an app to be opened the file |
| 9 * with. This dialog should be used as action picker for file operations. | 9 * with. This dialog should be used as action picker for file operations. |
| 10 */ | 10 */ |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 result = SuggestAppsDialog.Result.USER_CANCELL; | 409 result = SuggestAppsDialog.Result.USER_CANCELL; |
| 410 break; | 410 break; |
| 411 default: | 411 default: |
| 412 result = SuggestAppsDialog.Result.USER_CANCELL; | 412 result = SuggestAppsDialog.Result.USER_CANCELL; |
| 413 console.error('Invalid state.'); | 413 console.error('Invalid state.'); |
| 414 } | 414 } |
| 415 this.state_ = SuggestAppsDialog.State.UNINITIALIZED; | 415 this.state_ = SuggestAppsDialog.State.UNINITIALIZED; |
| 416 | 416 |
| 417 this.onDialogClosed_(result); | 417 this.onDialogClosed_(result); |
| 418 }; | 418 }; |
| OLD | NEW |