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

Issue 10824277: In FileManager send 'on-completed' event only when a scan is completed. Send 'on-cancelled' event w… (Closed)

Created:
8 years, 4 months ago by Oleg Eterevsky
Modified:
8 years, 4 months ago
Reviewers:
dgozman, SeRya
CC:
chromium-reviews, rginda+watch_chromium.org, arv (Not doing code reviews), chromeos-filemanager_google.com
Visibility:
Public.

Description

In FileManager send 'on-completed' event only when a scan is completed. Send 'on-cancelled' event when a scan is cancelled. Make search & usual spinner work with these events. BUG=141381 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151263

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -25 lines) Patch
M chrome/browser/resources/file_manager/js/directory_contents.js View 1 9 chunks +37 lines, -22 lines 0 comments Download
M chrome/browser/resources/file_manager/js/directory_model.js View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 2 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Oleg Eterevsky
8 years, 4 months ago (2012-08-13 11:37:36 UTC) #1
dgozman
https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js File chrome/browser/resources/file_manager/js/directory_contents.js (right): https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js#newcode253 chrome/browser/resources/file_manager/js/directory_contents.js:253: cr.dispatchSimpleEvent(this, 'scan-completed'); Forgot |!this.scanCacelled_|. Maybe, create a method to ...
8 years, 4 months ago (2012-08-13 12:58:08 UTC) #2
Oleg Eterevsky
https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js File chrome/browser/resources/file_manager/js/directory_contents.js (right): https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js#newcode253 chrome/browser/resources/file_manager/js/directory_contents.js:253: cr.dispatchSimpleEvent(this, 'scan-completed'); On 2012/08/13 12:58:08, dgozman wrote: > Forgot ...
8 years, 4 months ago (2012-08-13 13:32:21 UTC) #3
dgozman
https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js File chrome/browser/resources/file_manager/js/directory_contents.js (right): https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js#newcode255 chrome/browser/resources/file_manager/js/directory_contents.js:255: this.readNextChunk(); I believe, this is called if there is ...
8 years, 4 months ago (2012-08-13 13:36:47 UTC) #4
Oleg Eterevsky
https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js File chrome/browser/resources/file_manager/js/directory_contents.js (right): https://chromiumcodereview.appspot.com/10824277/diff/1/chrome/browser/resources/file_manager/js/directory_contents.js#newcode255 chrome/browser/resources/file_manager/js/directory_contents.js:255: this.readNextChunk(); On 2012/08/13 13:36:48, dgozman wrote: > I believe, ...
8 years, 4 months ago (2012-08-13 13:39:40 UTC) #5
dgozman
I'd say that you may place all checks and events firing to the top of ...
8 years, 4 months ago (2012-08-13 13:47:12 UTC) #6
Oleg Eterevsky
On 2012/08/13 13:47:12, dgozman wrote: > I'd say that you may place all checks and ...
8 years, 4 months ago (2012-08-13 13:52:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oleg@chromium.org/10824277/5001
8 years, 4 months ago (2012-08-13 13:52:20 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-08-13 15:04:08 UTC) #9
Change committed as 151263

Powered by Google App Engine
This is Rietveld 408576698