[Custom Tab] Reorganizes logic in CustomTabAppMenuPropertiesDelegate.
This should not cause any user visible changes. It is a follow up to the refctoring in crrev.com/c/567789/. Makes the visibility and initialization of menu items in Custom Tab guarded on the same variables. This makes the flow of the code easier to follow and skips unnecessary initialization when particular items would not end up being shown. Bug: Change-Id: I98a59f25380db8e91e4d01ebb4b95666d81ce586 Reviewed-on: https://chromium-review.googlesource.com/574895Reviewed-by:Yusuf Ozuysal <yusufo@chromium.org> Commit-Queue: Piotr Swigon <piotrs@chromium.org> Cr-Commit-Position: refs/heads/master@{#487405}
Showing
Please register or sign in to comment