#include "ui/views/test/widget_activation_waiter.h"
#include "base/run_loop.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_observer.h"
#if BUILDFLAG(IS_MAC)
#include "base/strings/string_number_conversions.h"
#include "base/test/bind.h"
#include "base/test/scoped_run_loop_timeout.h"
#include "base/test/test_timeouts.h"
#endif
namespace views {
namespace test {
namespace {
class WidgetActivationWaiter : public WidgetObserver { … };
}
void WaitForWidgetActive(Widget* widget, bool active) { … }
}
}