#include "chrome/browser/ui/views/send_tab_to_self/send_tab_to_self_toolbar_bubble_view.h"
#include "base/feature_list.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/send_tab_to_self/send_tab_to_self_toolbar_icon_view.h"
#include "chrome/grit/generated_resources.h"
#include "components/send_tab_to_self/features.h"
#include "components/send_tab_to_self/metrics_util.h"
#include "components/send_tab_to_self/send_tab_to_self_entry.h"
#include "components/url_formatter/elide_url.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/layout/flex_layout_types.h"
namespace send_tab_to_self {
SendTabToSelfToolbarBubbleView* SendTabToSelfToolbarBubbleView::CreateBubble(
Profile* profile,
SendTabToSelfToolbarIconView* parent,
const SendTabToSelfEntry& entry,
base::OnceCallback<void(NavigateParams*)> navigate_callback) { … }
SendTabToSelfToolbarBubbleView::~SendTabToSelfToolbarBubbleView() = default;
SendTabToSelfToolbarBubbleView::SendTabToSelfToolbarBubbleView(
Profile* profile,
SendTabToSelfToolbarIconView* parent,
const SendTabToSelfEntry& entry,
base::OnceCallback<void(NavigateParams*)> navigate_callback)
: … { … }
void SendTabToSelfToolbarBubbleView::OpenInNewTab() { … }
void SendTabToSelfToolbarBubbleView::Timeout() { … }
void SendTabToSelfToolbarBubbleView::Hide() { … }
}