Chromium Code Reviews| Index: content/shell/shell.h |
| =================================================================== |
| --- content/shell/shell.h (revision 147044) |
| +++ content/shell/shell.h (working copy) |
| @@ -64,6 +64,9 @@ |
| // Returns the Shell object corresponding to the given RenderViewHost. |
| static Shell* FromRenderViewHost(RenderViewHost* rvh); |
| + // Returns the currently open windows. |
| + static std::vector<Shell*>& windows() { return windows_; } |
| + |
| // Closes all windows and returns. This runs a message loop. |
| static void CloseAllWindows(); |