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

Unified Diff: ash/wm/aura/wm_lookup_aura.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests Created 4 years, 6 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
Index: ash/wm/aura/wm_lookup_aura.cc
diff --git a/ash/wm/aura/wm_lookup_aura.cc b/ash/wm/aura/wm_lookup_aura.cc
deleted file mode 100644
index c64c9c238108d8b87d7437eba31648ad5093718d..0000000000000000000000000000000000000000
--- a/ash/wm/aura/wm_lookup_aura.cc
+++ /dev/null
@@ -1,36 +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 "ash/wm/aura/wm_lookup_aura.h"
-
-#include "ash/common/wm/wm_layout_manager.h"
-#include "ash/display/window_tree_host_manager.h"
-#include "ash/shell.h"
-#include "ash/wm/aura/wm_root_window_controller_aura.h"
-#include "ash/wm/aura/wm_window_aura.h"
-
-namespace ash {
-namespace wm {
-
-WmLookupAura::WmLookupAura() {
- WmLookup::Set(this);
-}
-
-WmLookupAura::~WmLookupAura() {
- WmLookup::Set(nullptr);
-}
-
-WmRootWindowController* WmLookupAura::GetRootWindowControllerWithDisplayId(
- int64_t id) {
- return WmRootWindowControllerAura::Get(Shell::GetInstance()
- ->window_tree_host_manager()
- ->GetRootWindowForDisplayId(id));
-}
-
-WmWindow* WmLookupAura::GetWindowForWidget(views::Widget* widget) {
- return WmWindowAura::Get(widget->GetNativeWindow());
-}
-
-} // namespace wm
-} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698