Enable the tools menu action only when needed
This CL makes sure that the "RequestDesktopSite" and "RequestMobileSite" are enabled when the user agent is correct. It also makes sure that the "Site Information" action is only enabled when the page is a web page. Bug: 824210 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I499979423cc58d2f5f4153a13a39e878bc312edc Reviewed-on: https://chromium-review.googlesource.com/999599 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Reviewed-by:Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#549899}
Showing
Please register or sign in to comment