| Index: ash/root_window_controller.h
|
| diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
|
| index b247545d55673443cd07f09899d7f93617a8465e..56610f579824e732d77ccd71f7ee214f6cc66dbd 100644
|
| --- a/ash/root_window_controller.h
|
| +++ b/ash/root_window_controller.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <map>
|
| #include <memory>
|
| +#include <vector>
|
|
|
| #include "ash/ash_export.h"
|
| #include "ash/common/shell_observer.h"
|
| @@ -101,6 +102,11 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
|
| // Returns the RootWindowController of the target root window.
|
| static RootWindowController* ForTargetRootWindow();
|
|
|
| + static std::vector<RootWindowController*> root_window_controllers() {
|
| + return root_window_controllers_ ? *root_window_controllers_
|
| + : std::vector<RootWindowController*>();
|
| + }
|
| +
|
| // Configures |init_params| prior to initializing |widget|.
|
| // |shell_container_id| is the id of the container to parent |widget| to.
|
| // TODO(sky): remove this, http://crbug.com/671246.
|
| @@ -371,6 +377,8 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
|
|
|
| std::unique_ptr<::wm::ScopedCaptureClient> capture_client_;
|
|
|
| + static std::vector<RootWindowController*>* root_window_controllers_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RootWindowController);
|
| };
|
|
|
|
|