[omnibox] Don't focus omnibox for view-source of NTP
Currently, we have code to focus the omnibox when opening the NTP (New Tab Page). This is all well and good, but we also need to add a check to not do this when viewing the source of the NTP. Bug: 970185 Change-Id: Ib488e0cc8e8607bd2f9b8d2f8ddec0f0066ecee5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1754151Reviewed-by:Peter Boström <pbos@chromium.org> Commit-Queue: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#687320}
Showing
Please register or sign in to comment