Change directory if the active list item on navigation list is changed.
We want to change current directory if the active item on navigation list is changed. But we don't want to change current directory when listed items are spliced or permuted. In both cases, 'change' event is dispatched from selection model and we can't distinguish these cases from event itself. currentActiveItem_ is introduced to detect change of actual active item. BUG=375663 TEST=go through steps in Issue 375663 and 361047 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273601 Review URL: https://codereview.chromium.org/303503004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275359 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment