#include "chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_drag_data.h"
#include <memory>
#include <string>
#include "base/pickle.h"
#include "chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_button.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/base/theme_provider.h"
#include "ui/compositor/canvas_painter.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/vector2d.h"
#include "ui/views/drag_utils.h"
namespace tab_groups {
namespace {
const char kClipboardFormatString[] = …;
void AddButtonImageToOSExchangeData(SavedTabGroupButton* button,
const gfx::Point& press_pt,
const ui::ThemeProvider* theme_provider,
ui::OSExchangeData* data) { … }
}
SavedTabGroupDragData::SavedTabGroupDragData(const base::Uuid guid)
: … { … }
const ui::ClipboardFormatType& SavedTabGroupDragData::GetFormatType() { … }
std::optional<SavedTabGroupDragData>
SavedTabGroupDragData::ReadFromOSExchangeData(const ui::OSExchangeData* data) { … }
void SavedTabGroupDragData::WriteToOSExchangeData(
SavedTabGroupButton* button,
const gfx::Point& press_pt,
const ui::ThemeProvider* theme_provider,
ui::OSExchangeData* data) { … }
}