#include "ui/views/widget/any_widget_observer.h"
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/test/native_widget_factory.h"
#include "ui/views/test/widget_test.h"
namespace {
Widget;
AnyWidgetObserverTest;
TEST_F(AnyWidgetObserverTest, ObservesInitialize) { … }
TEST_F(AnyWidgetObserverTest, ObservesClose) { … }
TEST_F(AnyWidgetObserverTest, ObservesShow) { … }
TEST_F(AnyWidgetObserverTest, ObservesHide) { … }
class NamedWidgetShownWaiterTest : public views::test::WidgetTest { … };
TEST_F(NamedWidgetShownWaiterTest, ShownAfterWait) { … }
TEST_F(NamedWidgetShownWaiterTest, ShownBeforeWait) { … }
TEST_F(NamedWidgetShownWaiterTest, ShownInactive) { … }
TEST_F(NamedWidgetShownWaiterTest, OtherWidgetShown) { … }
}