| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Reviewer source(s):
blun...@chromium.org is from context(googleclient/chrome/chromium_gwsq/chrome/browser/config.gwsq)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Return BrowserWindowInterface from DownloadCommands::GetBrowser()
DownloadCommands::GetBrowser() only builds a
ScopedTabbedBrowserDisplayer and returns its browser, and all five call
sites feed the result to APIs that already take a BrowserWindowInterface
(or content::PageNavigator, which BrowserWindowInterface implements):
OpenURL, ShowSafeBrowsingEnhancedProtectionWithIph, and
DownloadProtectionService::ShowDetailsForDownload. So change
GetBrowser() to return BrowserWindowInterface*; the call sites are
unchanged.
This removes the last concrete-Browser use in download_commands.cc, so
its chrome/browser/ui/browser.h include is dropped. Two download-bubble
headers were relying on that include's transitive `class Browser;`
forward declaration; give them their own forward declaration.
R=chromium-bed...@google.com
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |