Description[Reland][Mac] Refactor bookmark bar controller
Fixed MSan issue (https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.memory%2FMac_ASan_64_Tests__1_%2F29660%2F%2B%2Frecipes%2Fsteps%2Fbrowser_tests%2F0%2Flogs%2FBookmarkFolderAppleScriptTest.DeleteBookmarkItems%2F0)
See delta between patchsets 2 and 3 for the fix
Original description:
Yes, with RTL thrown in, since this is specifically designed to make it almost free.
Two major things here:
- The bar is no longer relaid-out directly in response to changes in view size, bookmark model etc. Instead, a new UI-direction-agnostic view model (BookmarkBarLayout) is created from the current state, and if it's different from before, it's applied to the view.
- Removed a bunch of layout-related code that's no longer necessary
BUG=648560
Review-Url: https://codereview.chromium.org/2751573002
Cr-Commit-Position: refs/heads/master@{#468364}
Committed: https://chromium.googlesource.com/chromium/src/+/2644729cb7722a702a76cc2758d0ce372e1e6f92
patch from issue 2751573002 at patchset 180001 (http://crrev.com/2751573002#ps180001)
Review-Url: https://codereview.chromium.org/2853373002
Cr-Commit-Position: refs/heads/master@{#468981}
Committed: https://chromium.googlesource.com/chromium/src/+/cdde49adc3b921524027132523cb538bfa670cd4
Patch Set 1 #Patch Set 2 : Remove change so it's visible in patch diffs #Patch Set 3 : Correctly iterate over map while erasing from it #Messages
Total messages: 19 (14 generated)
|