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

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

Issue 1954933002: Initial cut of ash/wm/common classes for mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk 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
new file mode 100644
index 0000000000000000000000000000000000000000..59bcc644f244e3ff5b09c3276e27fd2b3df6ca62
--- /dev/null
+++ b/mash/wm/bridge/wm_lookup_mus.cc
@@ -0,0 +1,29 @@
+// 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() {}
+
+WmLookupMus::~WmLookupMus() {}
+
+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