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

Unified Diff: ash/root_window_controller.cc

Issue 10829173: Revert 149869 because it broke ash_unittests on win_aura and linux_chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months 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
« no previous file with comments | « ash/desktop_background/desktop_background_widget_controller.cc ('k') | ash/shell_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
===================================================================
--- ash/root_window_controller.cc (revision 149877)
+++ ash/root_window_controller.cc (working copy)
@@ -6,7 +6,6 @@
#include <vector>
-#include "ash/desktop_background/desktop_background_widget_controller.h"
#include "ash/display/display_controller.h"
#include "ash/shell.h"
#include "ash/shell_factory.h"
@@ -170,13 +169,6 @@
non_lock_screen_containers);
SetUsesScreenCoordinates(input_method_container);
- aura::Window* lock_background_containers = CreateContainer(
- internal::kShellWindowId_LockScreenBackgroundContainer,
- "LockScreenBackgroundContainer",
- lock_screen_containers);
-
- SetChildWindowVisibilityChangesAnimated(lock_background_containers);
-
// TODO(beng): Figure out if we can make this use
// SystemModalContainerEventFilter instead of stops_event_propagation.
aura::Window* lock_container = CreateContainer(
@@ -286,9 +278,7 @@
void RootWindowController::CloseChildWindows() {
// Close background widget first as it depends on tooltip.
- root_window_->SetProperty(kWindowDesktopComponent,
- static_cast<DesktopBackgroundWidgetController*>(NULL));
-
+ root_window_layout_->SetBackgroundWidget(NULL);
workspace_controller_.reset();
aura::client::SetTooltipClient(root_window_.get(), NULL);
« no previous file with comments | « ash/desktop_background/desktop_background_widget_controller.cc ('k') | ash/shell_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698