UpdatePage(GetActiveWebContents());I think it would be better to pass web contents from the [model](https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/extensions/extensions_menu_view_model.cc;l=367-369;drc=0a4bbd7daba492283f6b453c0b0a7d934f2b2ecd?q=extensions_menu_view_model&ss=chromium) to the platform delegates here and in every method that computes it. That way we don't retrieve it from the Browser's tab strip anymore.
Thoughts? Can do in separate CL
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | 
| Code-Review | +1 | 
  UpdatePage(GetActiveWebContents());I think it would be better to pass web contents from the [model](https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/extensions/extensions_menu_view_model.cc;l=367-369;drc=0a4bbd7daba492283f6b453c0b0a7d934f2b2ecd?q=extensions_menu_view_model&ss=chromium) to the platform delegates here and in every method that computes it. That way we don't retrieve it from the Browser's tab strip anymore.
Thoughts? Can do in separate CL
Hmm, it's not obvious to me which it better. This class already takes BWI in its constructor so it's capable of getting the active WebContents. If we introduce WebContents arguments to these methods, I would like to drop `GetActiveWebContents()` entirely to consolidate the way to get a WebContents so that the class consistently gets it from external classes, rather than via BWI.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |