| Index: ash/wm/partial_screenshot_view.cc
|
| diff --git a/ash/wm/partial_screenshot_view.cc b/ash/wm/partial_screenshot_view.cc
|
| index 1a0f5cda5b86644874d7a047a30924a4816fa618..032c91bddb1bdccd19e35f9b78c52c764c710d43 100644
|
| --- a/ash/wm/partial_screenshot_view.cc
|
| +++ b/ash/wm/partial_screenshot_view.cc
|
| @@ -79,8 +79,10 @@ class PartialScreenshotView::OverlayDelegate
|
| };
|
|
|
| // static
|
| -void PartialScreenshotView::StartPartialScreenshot(
|
| +std::vector<PartialScreenshotView*>
|
| +PartialScreenshotView::StartPartialScreenshot(
|
| ScreenshotDelegate* screenshot_delegate) {
|
| + std::vector<PartialScreenshotView*> views;
|
| OverlayDelegate* overlay_delegate = new OverlayDelegate();
|
| Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
|
| for (Shell::RootWindowList::iterator it = root_windows.begin();
|
| @@ -88,7 +90,9 @@ void PartialScreenshotView::StartPartialScreenshot(
|
| PartialScreenshotView* new_view = new PartialScreenshotView(
|
| overlay_delegate, screenshot_delegate);
|
| new_view->Init(*it);
|
| + views.push_back(new_view);
|
| }
|
| + return views;
|
| }
|
|
|
| PartialScreenshotView::PartialScreenshotView(
|
|
|