#include "chrome/browser/ui/views/data_sharing/data_sharing_bubble_controller.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/views/data_sharing/data_sharing_utils.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/top_container_view.h"
#include "chrome/browser/ui/views/tabs/tab_strip.h"
#include "chrome/browser/ui/webui/data_sharing/data_sharing_ui.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "components/constrained_window/constrained_window_views.h"
#include "net/base/url_util.h"
#include "ui/views/view_class_properties.h"
namespace {
class DataSharingBubbleDialogView : public WebUIBubbleDialogView { … };
BEGIN_METADATA(…)
}
DataSharingBubbleController::~DataSharingBubbleController() = default;
void DataSharingBubbleController::Show(
std::variant<tab_groups::LocalTabGroupID, data_sharing::GroupToken>
request_info) { … }
void DataSharingBubbleController::Close() { … }
DataSharingBubbleController::DataSharingBubbleController(Browser* browser)
: … { … }
BROWSER_USER_DATA_KEY_IMPL(DataSharingBubbleController);