#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "content/browser/browser_interface_binders.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/device/public/mojom/vibration_manager.mojom.h"
namespace content {
namespace {
class VibrationObserver : public WebContentsObserver { … };
class VibrationTest : public ContentBrowserTest,
public device::mojom::VibrationManager { … };
IN_PROC_BROWSER_TEST_F(VibrationTest, Vibrate) { … }
IN_PROC_BROWSER_TEST_F(VibrationTest, VibrateNotifiesListener) { … }
}
}