DescriptionMake opening a new tab with the NTP use PAGE_TRANSITION_AUTO_TOPLEVEL.
This CL changes the page transition type for opening the NTP from
PAGE_TRANSITION_TYPED to PAGE_TRANSITION_AUTO_TOPLEVEL. Semantically,
this makes sense because the new tab is content automatically loaded
into a top level frame and the user did not 'type' chrome://newtab.
This change was made to distinguish between actual direct URL navigations
and opening a new tab when considering whether the Site Engagement Service
should award the origin engagement points.
BUG=543358
Committed: https://crrev.com/d0cdbbbf6653a1ff04dba51558d582035555992b
Cr-Commit-Position: refs/heads/master@{#354404}
Patch Set 1 #Patch Set 2 : fix tab focus issue and add test #Patch Set 3 : #
Total comments: 2
Messages
Total messages: 11 (3 generated)
|