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

Unified Diff: ash/common/wm_lookup.h

Issue 2726823003: Remove WmLookup. (Closed)
Patch Set: Clean up include and modify comment. Created 3 years, 10 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 | « ash/common/wm/workspace/workspace_window_resizer.cc ('k') | ash/common/wm_lookup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_lookup.h
diff --git a/ash/common/wm_lookup.h b/ash/common/wm_lookup.h
deleted file mode 100644
index c6b4b63b8b0f4e36af90c531f0a830dd011c2d38..0000000000000000000000000000000000000000
--- a/ash/common/wm_lookup.h
+++ /dev/null
@@ -1,44 +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_LOOKUP_H_
-#define ASH_COMMON_WM_LOOKUP_H_
-
-#include <stdint.h>
-
-#include "ash/ash_export.h"
-
-namespace views {
-class Widget;
-}
-
-namespace ash {
-
-class RootWindowController;
-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 RootWindowController with the specified display id, or null if
- // there isn't one.
- virtual RootWindowController* 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 ash
-
-#endif // ASH_COMMON_WM_LOOKUP_H_
« no previous file with comments | « ash/common/wm/workspace/workspace_window_resizer.cc ('k') | ash/common/wm_lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698