DescriptionPopulate volume items without resolving their display roots.
* Populate volumes without resolving their display root.
The display root will be resolved after decorate() of the volume item.
If failed, the display root will be tried to be resolved when the volume item is activated (by click/Ctrl+N/etc...).
* Remove DirectoryTree.models_, which was a temporary variable to keep resolved display roots.
BUG=413317
TEST=manually tested the case when the first resolveDisplayRoot() fails. run browser_tests.
Committed: https://crrev.com/eb2869eb1fda71b797b4834c7a75a511eb50a574
Cr-Commit-Position: refs/heads/master@{#296885}
Patch Set 1 #Patch Set 2 : Update Drive's children when the Drive is clicked. #Patch Set 3 : Rebase and update browser_tests. #
Total comments: 1
Messages
Total messages: 9 (2 generated)
|