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

Unified Diff: ash/desktop_background/desktop_background_controller.h

Issue 10898007: Forget about DesktopBackgroundWidget if it was deleted (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Additional check 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 | « no previous file | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/desktop_background/desktop_background_controller.h
diff --git a/ash/desktop_background/desktop_background_controller.h b/ash/desktop_background/desktop_background_controller.h
index 0251c1c8d4e84af333c2458976a2847cf56f85b9..71eb8ff917af0f767aea3b01691fbcd53e8a43c3 100644
--- a/ash/desktop_background/desktop_background_controller.h
+++ b/ash/desktop_background/desktop_background_controller.h
@@ -125,6 +125,10 @@ class ASH_EXPORT DesktopBackgroundController : public aura::WindowObserver {
// Move all desktop widgets to unlocked container.
void MoveDesktopToUnlockedContainer();
+ // Drop references to background view for |root_window|, because the view
+ // was deleted.
+ void CleanupView(aura::RootWindow* root_window);
+
// WindowObserver implementation.
virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
« no previous file with comments | « no previous file | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698