diff options
Diffstat (limited to 'chromium/weblayer/public/new_tab_delegate.h')
-rw-r--r-- | chromium/weblayer/public/new_tab_delegate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/weblayer/public/new_tab_delegate.h b/chromium/weblayer/public/new_tab_delegate.h index 2d131444df1..27291bf1b99 100644 --- a/chromium/weblayer/public/new_tab_delegate.h +++ b/chromium/weblayer/public/new_tab_delegate.h @@ -33,7 +33,9 @@ enum class NewTabType { // in web terms, a new popup/window (and random other things). class NewTabDelegate { public: - virtual void OnNewTab(std::unique_ptr<Tab> new_tab, NewTabType type) = 0; + // Called when a new tab is created by the browser. |new_tab| is owned by the + // browser. + virtual void OnNewTab(Tab* new_tab, NewTabType type) = 0; // The page has requested a tab that was created by way of OnNewTab() to be // closed. This is sent to the NewTabDelegate set on the page created by way |