Commit 9c483f36 authored by Evan Stade's avatar Evan Stade Committed by Commit Bot

Delete NOTIFICATION_TAB_ADDED

Recent changes have removed its usage throughout the codebase.

Bug: 268984
Change-Id: Id6b211af5e99d8774f68db7235196f869ca782b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1753548Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#687284}
parent 66566290
...@@ -90,10 +90,6 @@ enum NotificationType { ...@@ -90,10 +90,6 @@ enum NotificationType {
// Tabs -------------------------------------------------------------------- // Tabs --------------------------------------------------------------------
// Sent when a tab is added to a WebContentsDelegate. The source is the
// WebContentsDelegate and the details is the added WebContents.
NOTIFICATION_TAB_ADDED,
// This notification is sent after a tab has been appended to the tab_strip. // This notification is sent after a tab has been appended to the tab_strip.
// The source is a Source<WebContents> of the tab being added. There // The source is a Source<WebContents> of the tab being added. There
// are no details. // are no details.
......
...@@ -714,13 +714,6 @@ void Navigate(NavigateParams* params) { ...@@ -714,13 +714,6 @@ void Navigate(NavigateParams* params) {
} }
} }
if (params->disposition != WindowOpenDisposition::CURRENT_TAB) {
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_TAB_ADDED,
content::Source<content::WebContentsDelegate>(params->browser),
content::Details<WebContents>(contents_to_navigate_or_insert));
}
params->navigated_or_inserted_contents = contents_to_navigate_or_insert; params->navigated_or_inserted_contents = contents_to_navigate_or_insert;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment