// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_H_ #define CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_H_ #include <stdint.h> #include <memory> #include <string> #include <vector> #include "base/memory/raw_ptr.h" #include "base/values.h" #include "chrome/common/extensions/api/tabs.h" #include "chrome/common/extensions/api/windows.h" class Browser; // TODO(stevenjb) eliminate this dependency. class Profile; namespace ui { class BaseWindow; } namespace extensions { class Extension; // This API needs to be implemented by any window that might be accessed // through various extension APIs for modifying or finding the window. // Subclasses must add/remove themselves from the WindowControllerList // upon construction/destruction. class WindowController { … }; } // namespace extensions #endif // CHROME_BROWSER_EXTENSIONS_WINDOW_CONTROLLER_H_