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

Unified Diff: mash/wm/bridge/wm_lookup_mus.cc

Issue 2029883002: Moves mash/wm into ash/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_static_assert
Patch Set: move comment Created 4 years, 7 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
« no previous file with comments | « mash/wm/bridge/wm_lookup_mus.h ('k') | mash/wm/bridge/wm_root_window_controller_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/bridge/wm_lookup_mus.cc
diff --git a/mash/wm/bridge/wm_lookup_mus.cc b/mash/wm/bridge/wm_lookup_mus.cc
deleted file mode 100644
index 2d7b55b05bed6124ee4944dfb782549529336601..0000000000000000000000000000000000000000
--- a/mash/wm/bridge/wm_lookup_mus.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mash/wm/bridge/wm_lookup_mus.h"
-
-#include "mash/wm/bridge/wm_globals_mus.h"
-#include "mash/wm/bridge/wm_root_window_controller_mus.h"
-#include "mash/wm/bridge/wm_window_mus.h"
-#include "ui/views/widget/widget.h"
-
-namespace mash {
-namespace wm {
-
-WmLookupMus::WmLookupMus() {
- WmLookup::Set(this);
-}
-
-WmLookupMus::~WmLookupMus() {
- if (WmLookupMus::Get() == this)
- WmLookup::Set(nullptr);
-}
-
-ash::wm::WmRootWindowController*
-WmLookupMus::GetRootWindowControllerWithDisplayId(int64_t id) {
- return WmGlobalsMus::Get()->GetRootWindowControllerWithDisplayId(id);
-}
-
-ash::wm::WmWindow* WmLookupMus::GetWindowForWidget(views::Widget* widget) {
- return WmWindowMus::Get(widget);
-}
-
-} // namespace wm
-} // namespace mash
« no previous file with comments | « mash/wm/bridge/wm_lookup_mus.h ('k') | mash/wm/bridge/wm_root_window_controller_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698