Description[Extensions] Remove ExtensionWebUI
ExtensionWebUI only did two things:
- Set the link transition type for the bookmark manager to
PAGE_TRANSITION_AUTO_BOOKMARK.
- Instantiated the BookmarkManagerPrivateDragEventRouter.
Neither of these things should require WebUI, and having extension
WebContents have WebUI is bad.
Instead, handle the link transition in OverrideOpenUrlParams (as well
as modifying the referrer and the renderer-initiated, as we
currently do for WebUI navigations), and make the
BookmarkManagerPrivateDragEventRouter a WebContentsUserData
instantiated from extensions::TabHelper.
BUG=659798
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/a32a0900c104b2143e6462febc81e6900dbd2104
Cr-Commit-Position: refs/heads/master@{#430940}
Patch Set 1 #Patch Set 2 : rename #Patch Set 3 : unrename #Patch Set 4 : maybefix #
Total comments: 8
Patch Set 5 : Charlie's #
Total comments: 3
Patch Set 6 : nit #Messages
Total messages: 37 (25 generated)
|