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

Unified Diff: ash/wm/common/wm_root_window_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/wm_overview_mode_observer.h ('k') | ash/wm/common/wm_root_window_controller_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_root_window_controller.h
diff --git a/ash/wm/common/wm_root_window_controller.h b/ash/wm/common/wm_root_window_controller.h
deleted file mode 100644
index a59a61f3f5eac491af9403e6cd22096a34d52e81..0000000000000000000000000000000000000000
--- a/ash/wm/common/wm_root_window_controller.h
+++ /dev/null
@@ -1,66 +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_WM_COMMON_WM_ROOT_CONTROLLER_H_
-#define ASH_WM_COMMON_WM_ROOT_CONTROLLER_H_
-
-#include "ash/ash_export.h"
-#include "ash/wm/common/workspace/workspace_types.h"
-#include "ui/views/widget/widget.h"
-
-namespace gfx {
-class Point;
-}
-
-namespace ash {
-
-class AlwaysOnTopController;
-
-namespace wm {
-
-class WmGlobals;
-class WmRootWindowControllerObserver;
-class WmShelf;
-class WmWindow;
-
-// Provides state associated with a root of a window hierarchy.
-class ASH_EXPORT WmRootWindowController {
- public:
- virtual ~WmRootWindowController() {}
-
- virtual bool HasShelf() = 0;
-
- virtual WmGlobals* GetGlobals() = 0;
-
- virtual WorkspaceWindowState GetWorkspaceWindowState() = 0;
-
- virtual AlwaysOnTopController* GetAlwaysOnTopController() = 0;
-
- virtual WmShelf* GetShelf() = 0;
-
- // Returns the window associated with this WmRootWindowController.
- virtual WmWindow* GetWindow() = 0;
-
- // Configures |init_params| prior to initializing |widget|.
- // |shell_container_id| is the id of the container to parent |widget| to.
- virtual void ConfigureWidgetInitParamsForContainer(
- views::Widget* widget,
- int shell_container_id,
- views::Widget::InitParams* init_params) = 0;
-
- // Returns the window events will be targeted at for the specified location
- // (in screen coordinates).
- //
- // NOTE: the returned window may not contain the location as resize handles
- // may extend outside the bounds of the window.
- virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0;
-
- virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0;
- virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0;
-};
-
-} // namespace wm
-} // namespace ash
-
-#endif // ASH_WM_COMMON_WM_ROOT_CONTROLLER_H_
« no previous file with comments | « ash/wm/common/wm_overview_mode_observer.h ('k') | ash/wm/common/wm_root_window_controller_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698