Add GetWindows helper that returns a vector
This commit is contained in:
parent
0883a9f966
commit
da5d7d72b0
5 changed files with 11 additions and 21 deletions
|
@ -26,6 +26,11 @@ WindowList* WindowList::GetInstance() {
|
|||
return instance_;
|
||||
}
|
||||
|
||||
// static
|
||||
WindowList::WindowVector WindowList::GetWindows() {
|
||||
return GetInstance()->windows_;
|
||||
}
|
||||
|
||||
// static
|
||||
void WindowList::AddWindow(NativeWindow* window) {
|
||||
DCHECK(window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue