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

Unified Diff: ash/wm/workspace/workspace_layout_manager_delegate.h

Issue 169643005: Adding a gray semi transparent backdrop behind the topmost window within the default container (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing build problem Created 6 years, 9 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/workspace/workspace_layout_manager.cc ('k') | ash/wm/workspace/workspace_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_layout_manager_delegate.h
diff --git a/ash/wm/workspace/workspace_layout_manager_delegate.h b/ash/wm/workspace/workspace_layout_manager_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..9d8934468dc9de8b3895e14776c151fd616910af
--- /dev/null
+++ b/ash/wm/workspace/workspace_layout_manager_delegate.h
@@ -0,0 +1,49 @@
+// Copyright (c) 2014 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_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_
+#define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_
+
+#include "ash/wm/wm_types.h"
+
+namespace aura {
+class Window;
+}
+
+namespace ash {
+namespace wm {
+class WindowState;
+}
+
+namespace internal {
+
+// A delegate which can be set to create and control a backdrop which gets
+// placed below the top level window.
+class WorkspaceLayoutManagerDelegate {
+ public:
+ WorkspaceLayoutManagerDelegate() {}
+ virtual ~WorkspaceLayoutManagerDelegate() {}
+
+ // A window got added to the layout.
+ virtual void OnWindowAddedToLayout(aura::Window* child) = 0;
+
+ // A window got removed from the layout.
+ virtual void OnWindowRemovedFromLayout(aura::Window* child) = 0;
+
+ // The visibility of a window has changed.
+ virtual void OnChildWindowVisibilityChanged(aura::Window* child,
+ bool visible) = 0;
+
+ // The stacking order of a window has changed.
+ virtual void OnWindowStackingChanged(aura::Window* window) = 0;
+
+ // A window state type has changed.
+ virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state,
+ wm::WindowStateType old_type) = 0;
+};
+
+} // namespace internal
+} // namespace ash
+
+#endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager.cc ('k') | ash/wm/workspace/workspace_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698