#include "chrome/browser/ui/idle_bubble.h"
#include <string>
#include <utility>
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/views/frame/app_menu_button.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/toolbar_button_provider.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/interaction/element_tracker.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/time_format.h"
#include "ui/base/models/dialog_model.h"
#include "ui/views/bubble/bubble_dialog_model_host.h"
#include "ui/views/interaction/element_tracker_views.h"
#include "ui/views/view_class_properties.h"
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
namespace {
class IdleBubbleDialogDelegate : public views::BubbleDialogModelHost { … };
}
void ShowIdleBubble(Browser* browser,
base::TimeDelta idle_threshold,
IdleDialog::ActionSet actions,
base::OnceClosure on_close) { … }
views::BubbleFrameView* GetIdleBubble(Browser* browser) { … }