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

Unified Diff: chrome/browser/chromeos/login/ui/login_display_host_impl.h

Issue 2290473004: Rename ash desktop_background to wallpaper. (Closed)
Patch Set: Address comments. Created 4 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: chrome/browser/chromeos/login/ui/login_display_host_impl.h
diff --git a/chrome/browser/chromeos/login/ui/login_display_host_impl.h b/chrome/browser/chromeos/login/ui/login_display_host_impl.h
index 9d7624a1ac95ed826126fc7a74900825beb9d306..751e9b5233c350eda8782eb01f89c9e996f2a31c 100644
--- a/chrome/browser/chromeos/login/ui/login_display_host_impl.h
+++ b/chrome/browser/chromeos/login/ui/login_display_host_impl.h
@@ -51,7 +51,7 @@ class WebUILoginDisplay;
class WebUILoginView;
// An implementation class for OOBE/login WebUI screen host.
-// It encapsulates controllers, background integration and flow.
+// It encapsulates controllers, wallpaper integration and flow.
class LoginDisplayHostImpl : public LoginDisplayHost,
public content::NotificationObserver,
public content::WebContentsObserver,
@@ -63,7 +63,7 @@ class LoginDisplayHostImpl : public LoginDisplayHost,
public views::WidgetRemovalsObserver,
public chrome::MultiUserWindowManager::Observer {
public:
- explicit LoginDisplayHostImpl(const gfx::Rect& background_bounds);
+ explicit LoginDisplayHostImpl(const gfx::Rect& wallpaper_bounds);
~LoginDisplayHostImpl() override;
// LoginDisplayHost implementation:
@@ -97,7 +97,7 @@ class LoginDisplayHostImpl : public LoginDisplayHost,
// Called when the first browser window is created, but before it's shown.
void OnBrowserCreated();
- const gfx::Rect& background_bounds() const { return background_bounds_; }
+ const gfx::Rect& wallpaper_bounds() const { return wallpaper_bounds_; }
// Trace id for ShowLoginWebUI event (since there exists at most one login
// WebUI at a time).
@@ -200,8 +200,8 @@ class LoginDisplayHostImpl : public LoginDisplayHost,
// Called when login-prompt-visible signal is caught.
void OnLoginPromptVisible();
- // Used to calculate position of the screens and background.
- gfx::Rect background_bounds_;
+ // Used to calculate position of the screens and wallpaper.
+ gfx::Rect wallpaper_bounds_;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698