Lines Matching refs:WallpaperManager
103 WallpaperManager::Get()->GetCustomWallpaperPath(sub_dir,
120 return WallpaperManager::Get()->loaded_wallpapers();
124 WallpaperManager::Get()->ClearDisposableWallpaperCache();
154 WallpaperManager* wallpaper_manager = WallpaperManager::Get();
233 WallpaperManager* wallpaper_manager = WallpaperManager::Get();
302 WallpaperManager::Get()->SetUserWallpaperInfo(kTestUser1, info, true);
323 WallpaperManager::Get()->RemoveUserWallpaperInfo(kTestUser1);
340 WallpaperManager::Get()->SetDefaultWallpaperNow(chromeos::login::kStubUser);
379 WallpaperManager::Get()->SetUserWallpaperInfo(kTestUser1, info, true);
401 WallpaperManager::Get()->RemoveUserWallpaperInfo(kTestUser1);
457 WallpaperManager* wallpaper_manager = WallpaperManager::Get();
488 scoped_ptr<WallpaperManager::TestApi> test_api;
489 test_api.reset(new WallpaperManager::TestApi(wallpaper_manager));
506 WallpaperManager* wallpaper_manager = WallpaperManager::Get();
512 scoped_ptr<WallpaperManager::TestApi> test_api;
513 test_api.reset(new WallpaperManager::TestApi(wallpaper_manager));
558 class TestObserver : public WallpaperManager::Observer {
560 explicit TestObserver(WallpaperManager* wallpaper_manager)
585 WallpaperManager* wallpaper_manager_;
595 TestObserver observer(WallpaperManager::Get());
610 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_SMALL,
611 WallpaperManager::Get()->GetAppropriateResolution());
618 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_SMALL,
619 WallpaperManager::Get()->GetAppropriateResolution());
626 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_SMALL,
627 WallpaperManager::Get()->GetAppropriateResolution());
635 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_LARGE,
636 WallpaperManager::Get()->GetAppropriateResolution());
643 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_LARGE,
644 WallpaperManager::Get()->GetAppropriateResolution());
651 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_LARGE,
652 WallpaperManager::Get()->GetAppropriateResolution());
660 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_SMALL,
661 WallpaperManager::Get()->GetAppropriateResolution());
668 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_SMALL,
669 WallpaperManager::Get()->GetAppropriateResolution());
675 EXPECT_EQ(WallpaperManager::WALLPAPER_RESOLUTION_LARGE,
676 WallpaperManager::Get()->GetAppropriateResolution());
687 // Test that WallpaperManager loads the appropriate wallpaper
699 WallpaperManager::Get()->SetDefaultWallpaperNow(std::string());
712 WallpaperManager::Get()->SetDefaultWallpaperNow(std::string());
726 WallpaperManager::Get()->SetDefaultWallpaperNow(std::string());
740 WallpaperManager::Get()->SetDefaultWallpaperNow(std::string());
755 WallpaperManager::Get()->SetDefaultWallpaperNow(std::string());
770 WallpaperManager::Get()->SetDefaultWallpaperNow(std::string());
776 WallpaperManager::Get()->SetCustomWallpaper(chromeos::login::kStubUser,
789 WallpaperManager::Get()->SetDefaultWallpaperNow(std::string());