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

Unified Diff: ash/common/wm/wm_lookup.h

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/common/wm/wm_lookup.h
diff --git a/ash/common/wm/wm_lookup.h b/ash/common/wm/wm_lookup.h
deleted file mode 100644
index b8417e5a3c5185032f6770d34856bb60e35eaa9d..0000000000000000000000000000000000000000
--- a/ash/common/wm/wm_lookup.h
+++ /dev/null
@@ -1,46 +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.
-
-#ifndef ASH_COMMON_WM_WM_LOOKUP_H_
-#define ASH_COMMON_WM_WM_LOOKUP_H_
-
-#include <stdint.h>
-
-#include "ash/ash_export.h"
-
-namespace views {
-class Widget;
-}
-
-namespace ash {
-namespace wm {
-
-class WmRootWindowController;
-class WmWindow;
-
-// WmLookup is used to lookup various wm types.
-class ASH_EXPORT WmLookup {
- public:
- static void Set(WmLookup* lookup);
- static WmLookup* Get();
-
- // Returns the WmRootWindowController with the specified display id, or null
- // if there isn't one.
- virtual WmRootWindowController* GetRootWindowControllerWithDisplayId(
- int64_t id) = 0;
-
- // Returns the WmWindow for the specified widget.
- virtual WmWindow* GetWindowForWidget(views::Widget* widget) = 0;
-
- protected:
- virtual ~WmLookup() {}
-
- private:
- static WmLookup* instance_;
-};
-
-} // namespace wm
-} // namespace ash
-
-#endif // ASH_COMMON_WM_WM_LOOKUP_H_

Powered by Google App Engine
This is Rietveld 408576698