#include "chrome/browser/extensions/api/tab_groups/tab_groups_event_router.h"
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/extensions/api/tab_groups/tab_groups_util.h"
#include "chrome/browser/extensions/extension_tab_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/tabs/tab_group.h"
#include "chrome/browser/ui/tabs/tab_group_model.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "components/tab_groups/tab_group_color.h"
#include "components/tab_groups/tab_group_id.h"
#include "components/tab_groups/tab_group_visual_data.h"
namespace extensions {
TabGroupsEventRouter::TabGroupsEventRouter(content::BrowserContext* context)
: … { … }
void TabGroupsEventRouter::OnTabGroupChanged(const TabGroupChange& change) { … }
bool TabGroupsEventRouter::ShouldTrackBrowser(Browser* browser) { … }
void TabGroupsEventRouter::DispatchGroupCreated(tab_groups::TabGroupId group) { … }
void TabGroupsEventRouter::DispatchGroupRemoved(tab_groups::TabGroupId group) { … }
void TabGroupsEventRouter::DispatchGroupMoved(tab_groups::TabGroupId group) { … }
void TabGroupsEventRouter::DispatchGroupUpdated(tab_groups::TabGroupId group) { … }
void TabGroupsEventRouter::DispatchEvent(events::HistogramValue histogram_value,
const std::string& event_name,
base::Value::List args) { … }
}