Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: trunk/src/ash/wm/partial_screenshot_view.cc

Issue 59153004: Revert 233787 "Eliminate Shell::RootWindowList in favor of aura:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/ash/wm/partial_screenshot_view.cc
===================================================================
--- trunk/src/ash/wm/partial_screenshot_view.cc (revision 233812)
+++ trunk/src/ash/wm/partial_screenshot_view.cc (working copy)
@@ -84,8 +84,8 @@
ScreenshotDelegate* screenshot_delegate) {
std::vector<PartialScreenshotView*> views;
OverlayDelegate* overlay_delegate = new OverlayDelegate();
- aura::Window::Windows root_windows = Shell::GetAllRootWindows();
- for (aura::Window::Windows::iterator it = root_windows.begin();
+ Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
+ for (Shell::RootWindowList::iterator it = root_windows.begin();
it != root_windows.end(); ++it) {
PartialScreenshotView* new_view = new PartialScreenshotView(
overlay_delegate, screenshot_delegate);
@@ -108,7 +108,7 @@
screenshot_delegate_ = NULL;
}
-void PartialScreenshotView::Init(aura::Window* root_window) {
+void PartialScreenshotView::Init(aura::RootWindow* root_window) {
views::Widget* widget = new views::Widget;
views::Widget::InitParams params(
views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
« no previous file with comments | « trunk/src/ash/wm/partial_screenshot_view.h ('k') | trunk/src/ash/wm/system_modal_container_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698