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

Unified Diff: ash/desktop_background/desktop_background_widget_controller.h

Issue 10982035: Reland - cros: Add CHECK for screen unlock problem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: check only ~ScreenLocker Created 8 years, 3 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 d5653328bf04206e1cbdb671c9796603b5f5bf16..7017eb07afcf6811c69de77654025627a4933612 100644
--- a/ash/desktop_background/desktop_background_widget_controller.h
+++ b/ash/desktop_background/desktop_background_widget_controller.h
@@ -37,8 +37,8 @@ class DesktopBackgroundWidgetController : public views::WidgetObserver {
// Move component from |src_container| in |root_window| to |dest_container|.
// It is required for lock screen, when we need to move background so that
- // it hides user's windows.
- void Reparent(aura::RootWindow* root_window,
+ // it hides user's windows. Returns true if there was something to reparent.
+ bool Reparent(aura::RootWindow* root_window,
int src_container,
int dest_container);

Powered by Google App Engine
This is Rietveld 408576698