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

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

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ash/wm/common/DEPS ('k') | ash/wm/common/always_on_top_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/always_on_top_controller.h
diff --git a/ash/wm/common/always_on_top_controller.h b/ash/wm/common/always_on_top_controller.h
deleted file mode 100644
index dd990b2ab48892836e3ddf958b9a42bed8e55ac9..0000000000000000000000000000000000000000
--- a/ash/wm/common/always_on_top_controller.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 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_WM_COMMON_ALWAYS_ON_TOP_CONTROLLER_H_
-#define ASH_WM_COMMON_ALWAYS_ON_TOP_CONTROLLER_H_
-
-#include <memory>
-
-#include "ash/ash_export.h"
-#include "ash/wm/common/wm_window_observer.h"
-#include "base/macros.h"
-
-namespace ash {
-class WorkspaceLayoutManager;
-
-// AlwaysOnTopController puts window into proper containers based on its
-// 'AlwaysOnTop' property. That is, putting a window into the worskpace
-// container if its "AlwaysOnTop" property is false. Otherwise, put it in
-// |always_on_top_container_|.
-class ASH_EXPORT AlwaysOnTopController : public wm::WmWindowObserver {
- public:
- explicit AlwaysOnTopController(wm::WmWindow* viewport);
- ~AlwaysOnTopController() override;
-
- // Gets container for given |window| based on its "AlwaysOnTop" property.
- wm::WmWindow* GetContainer(wm::WmWindow* window) const;
-
- WorkspaceLayoutManager* GetLayoutManager() const;
-
- void SetLayoutManagerForTest(
- std::unique_ptr<WorkspaceLayoutManager> layout_manager);
-
- private:
- // Overridden from wm::WmWindowObserver:
- void OnWindowTreeChanged(wm::WmWindow* window,
- const TreeChangeParams& params) override;
- void OnWindowPropertyChanged(wm::WmWindow* window,
- wm::WmWindowProperty property) override;
- void OnWindowDestroying(wm::WmWindow* window) override;
-
- wm::WmWindow* always_on_top_container_;
-
- DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController);
-};
-
-} // namepsace ash
-
-#endif // ASH_WM_COMMON_ALWAYS_ON_TOP_CONTROLLER_H_
« no previous file with comments | « ash/wm/common/DEPS ('k') | ash/wm/common/always_on_top_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698