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

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: 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..9750c964bbcd58f6c1cb594967a6068fbc5f9ed6 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 ownership of widget.
Nikita (slow) 2012/08/28 17:42:38 nit: Drop widget reference. widget is not owned.
+ void CleanUpWidget();
Nikita (slow) 2012/08/28 17:42:38 nit: CleanupWidget()
+
// Set bounds of component that draws background.
void SetBounds(gfx::Rect bounds);

Powered by Google App Engine
This is Rietveld 408576698