// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef APPS_TEST_APP_WINDOW_WAITER_H_ #define APPS_TEST_APP_WINDOW_WAITER_H_ #include <memory> #include <string> #include "base/compiler_specific.h" #include "base/memory/raw_ptr.h" #include "base/run_loop.h" #include "extensions/browser/app_window/app_window_registry.h" namespace extensions { class AppWindow; } namespace apps { // Helper class that monitors app windows to wait for a window to // appear/activated. Use a new instance for each use, one instance will only // work for one Wait. class AppWindowWaiter : public extensions::AppWindowRegistry::Observer { … }; } // namespace apps #endif // APPS_TEST_APP_WINDOW_WAITER_H_