If tab is created from chrome UI, don't mark the tab as external app
All tabs created by TabDelegate.createNewTab() are treated as from external apps. However, if the tab was created from Chrome's own UI, we shouldn't do this. Otherwise, clicking the back button will dismiss the Chrome app. This change also passes the header String when creating a new tab. This allows Chrome UI to create tabs with correct header Strings. BUG=637239 Review-Url: https://codereview.chromium.org/2319143004 Cr-Commit-Position: refs/heads/master@{#417204}
Showing
Please register or sign in to comment