#include "chrome/browser/ui/views/send_tab_to_self/send_tab_to_self_bubble_device_button.h"
#include <string>
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/ui/views/controls/hover_button.h"
#include "chrome/browser/ui/views/send_tab_to_self/send_tab_to_self_device_picker_bubble_view.h"
#include "chrome/grit/generated_resources.h"
#include "components/send_tab_to_self/target_device_info.h"
#include "components/sync_device_info/device_info.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/models/image_model.h"
#include "ui/color/color_id.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/image_view.h"
namespace send_tab_to_self {
namespace {
const gfx::VectorIcon& GetIconType(
const syncer::DeviceInfo::FormFactor& device_form_factor) { … }
std::unique_ptr<views::ImageView> CreateIcon(
const syncer::DeviceInfo::FormFactor device_form_factor) { … }
std::u16string GetLastUpdatedTime(const TargetDeviceInfo& device_info) { … }
}
SendTabToSelfBubbleDeviceButton::SendTabToSelfBubbleDeviceButton(
SendTabToSelfDevicePickerBubbleView* bubble,
const TargetDeviceInfo& device_info)
: … { … }
SendTabToSelfBubbleDeviceButton::~SendTabToSelfBubbleDeviceButton() = default;
BEGIN_METADATA(…)
}