// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_TEST_SCOPED_VIEWS_TEST_HELPER_H_ #define UI_VIEWS_TEST_SCOPED_VIEWS_TEST_HELPER_H_ #include <memory> #include <optional> #include "ui/gfx/native_widget_types.h" #include "ui/views/test/test_views_delegate.h" #include "ui/views/test/views_test_helper.h" #include "ui/views/views_delegate.h" namespace views { class Widget; // Creates a ViewsTestHelper that is destroyed automatically. Acts like // ViewsTestBase but allows a test harness to use a different base class, or // make use of a BrowserTaskEnvironment, rather than the MessageLoop provided // by ViewsTestBase. class ScopedViewsTestHelper { … }; } // namespace views #endif // UI_VIEWS_TEST_SCOPED_VIEWS_TEST_HELPER_H_