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

Unified Diff: ash/mus/window_manager.cc

Issue 2569953002: Removes example code that isn't correctly wired up (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « ash/mus/window_manager.h ('k') | ash/mus/window_manager_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager.cc
diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
index 0f7c65a9a1f2e4621eecda5fc3addabc1f381f60..221df659414427fad02fb2dd44fa294c3c033b79 100644
--- a/ash/mus/window_manager.cc
+++ b/ash/mus/window_manager.cc
@@ -142,19 +142,6 @@ void WindowManager::Init(
shell_->CreateShelf();
}
-void WindowManager::SetScreenLocked(bool is_locked) {
- // TODO: screen locked state needs to be persisted for newly added displays.
- for (auto& root_window_controller : root_window_controllers_) {
- WmWindowMus* non_lock_screen_containers_container =
- root_window_controller->GetWindowByShellWindowId(
- kShellWindowId_NonLockScreenContainersContainer);
- if (is_locked)
- non_lock_screen_containers_container->aura_window()->Hide();
- else
- non_lock_screen_containers_container->aura_window()->Show();
- }
-}
-
aura::Window* WindowManager::NewTopLevelWindow(
ui::mojom::WindowType window_type,
std::map<std::string, std::vector<uint8_t>>* properties) {
« no previous file with comments | « ash/mus/window_manager.h ('k') | ash/mus/window_manager_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698