Replace Content Shell MainMenu.xib with programmatic construction.
MainMenu.xib primarily consisted of unusable menu items. This CL pulls out the essentials, and drops support for the rest. This CL intentionally keeps the logic simple with no additional abstraction layers. While it would be reasonably simple to reuse chrome's main_menu_builder.h or to pull out common functionality into builder functions, the actual lines of code saved would be small and I'd like to avoid unnecessary abstractions. Change-Id: I3de68bd6fe3e064b7f83b038688cfbaf0bc4e9e1 Bug: 965663 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627242Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Auto-Submit: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#662943}
Showing
This diff is collapsed.
Please register or sign in to comment