blob: 3b4ccf42edce7039382cfaefcef6ffd688b8dbc4 [file] [log] [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_IDLE_BUBBLE_H_
#define CHROME_BROWSER_UI_IDLE_BUBBLE_H_
#include "base/functional/callback.h"
#include "chrome/browser/ui/idle_dialog.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
class Browser;
// Show a bubble informing the user that IdleTimeoutActions just ran.
void ShowIdleBubble(Browser* browser,
base::TimeDelta threshold,
IdleDialog::ActionSet actions);
// TODO(crbug.com/1442224): Convert idle_service_browsertest.cc to an
// InteractiveTest, and get rid of this.
bool IsIdleBubbleOpenForTesting(Browser* browser);
#endif // CHROME_BROWSER_UI_IDLE_BUBBLE_H_