#include "chrome/browser/extensions/window_controller_list.h"
#include "base/containers/contains.h"
#include "base/observer_list.h"
#include "base/ranges/algorithm.h"
#include "chrome/browser/extensions/api/tabs/windows_util.h"
#include "chrome/browser/extensions/chrome_extension_function_details.h"
#include "chrome/browser/extensions/window_controller_list_observer.h"
#include "chrome/common/extensions/api/windows.h"
#include "components/sessions/core/session_id.h"
#include "extensions/browser/extension_function.h"
#include "ui/base/base_window.h"
namespace extensions {
WindowControllerList* WindowControllerList::GetInstance() { … }
WindowControllerList::WindowControllerList() { … }
WindowControllerList::~WindowControllerList() { … }
void WindowControllerList::AddExtensionWindow(WindowController* window) { … }
void WindowControllerList::RemoveExtensionWindow(WindowController* window) { … }
void WindowControllerList::NotifyWindowBoundsChanged(WindowController* window) { … }
void WindowControllerList::AddObserver(WindowControllerListObserver* observer) { … }
void WindowControllerList::RemoveObserver(
WindowControllerListObserver* observer) { … }
WindowController* WindowControllerList::FindWindowForFunctionByIdWithFilter(
const ExtensionFunction* function,
int id,
WindowController::TypeFilter filter) const { … }
WindowController* WindowControllerList::CurrentWindowForFunction(
ExtensionFunction* function) const { … }
WindowController* WindowControllerList::CurrentWindowForFunctionWithFilter(
ExtensionFunction* function,
WindowController::TypeFilter filter) const { … }
}