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

Unified Diff: ash/desktop_background/desktop_background_widget_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
Index: ash/desktop_background/desktop_background_widget_controller.h
diff --git a/ash/desktop_background/desktop_background_widget_controller.h b/ash/desktop_background/desktop_background_widget_controller.h
index 6a24716b4f2e79b1ae08d24d6e6f82d655bcabe1..41288cd3549def18a265eec0add2318b7645987c 100644
--- a/ash/desktop_background/desktop_background_widget_controller.h
+++ b/ash/desktop_background/desktop_background_widget_controller.h
@@ -28,6 +28,9 @@ class DesktopBackgroundWidgetController {
~DesktopBackgroundWidgetController();
+ // Drop widget reference. widget is not owned.
+ void CleanupWidget();
+
// Set bounds of component that draws background.
void SetBounds(gfx::Rect bounds);
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('k') | ash/desktop_background/desktop_background_widget_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698