Chromium Code Reviews| Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h |
| diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h |
| index d5256e2e3c8f32c8ddf6e6ae54dc6247abb2e53f..d049316934ecdf76f41f73fac8eb26e5ecab7926 100644 |
| --- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h |
| +++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h |
| @@ -22,6 +22,7 @@ |
| #include "chrome/browser/chromeos/login/screens/error_screen.h" |
| #include "chrome/browser/chromeos/login/signin_specifics.h" |
| #include "chrome/browser/chromeos/login/ui/login_display.h" |
| +#include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
| #include "chrome/browser/chromeos/settings/cros_settings.h" |
| #include "chrome/browser/ui/webui/chromeos/login/base_webui_handler.h" |
| #include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h" |
| @@ -239,7 +240,8 @@ class SigninScreenHandler |
| public input_method::ImeKeyboard::Observer, |
| public ash::mojom::TouchViewObserver, |
| public lock_screen_apps::StateObserver, |
| - public OobeUI::Observer { |
| + public OobeUI::Observer, |
| + public WallpaperManager::Observer { |
| public: |
| SigninScreenHandler( |
| const scoped_refptr<NetworkStateInformer>& network_state_informer, |
| @@ -277,6 +279,12 @@ class SigninScreenHandler |
| void OnCurrentScreenChanged(OobeScreen current_screen, |
| OobeScreen new_screen) override; |
| + // WallpaperManager::Observer implementation. |
|
jdufault
2017/06/12 21:37:29
This doesn't look like the right type.
Wenzhao (Colin) Zang
2017/06/12 23:40:35
I think it's the right type. Other WallpaperManage
|
| + void OnColorCalculationComplete() override; |
| + |
| + // WallpaperManager::Observer implementation. |
| + void OnWallpaperAnimationFinished(const AccountId& account_id) override; |
| + |
| void SetFocusPODCallbackForTesting(base::Closure callback); |
| // To avoid spurious error messages on flaky networks, the offline message is |
| @@ -314,6 +322,10 @@ class SigninScreenHandler |
| NetworkError::ErrorReason reason); |
| void ReloadGaia(bool force_reload); |
| + // Sets signin screen overlay colors based on the wallpaper color extraction |
| + // results. |
| + void SetSigninScreenColors(const SkColor& dm_color); |
| + |
| // BaseScreenHandler implementation: |
| void DeclareLocalizedValues( |
| ::login::LocalizedValuesBuilder* builder) override; |