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

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

Issue 9113045: Reworks the workspace code. Here's the new heuristics: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged and all that good stuff. Created 8 years, 11 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_event_filter.cc ('k') | ash/wm/workspace/workspace_layout_manager.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.h
diff --git a/ash/wm/workspace/workspace_layout_manager.h b/ash/wm/workspace/workspace_layout_manager.h
index 3fdceb8151ad6012399aa6fed9a495fb81c22577..4a1ca87929e61630307f871b295f53620f84e8a2 100644
--- a/ash/wm/workspace/workspace_layout_manager.h
+++ b/ash/wm/workspace/workspace_layout_manager.h
@@ -6,11 +6,10 @@
#define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
#pragma once
+#include "ash/ash_export.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/aura/layout_manager.h"
-#include "ash/ash_export.h"
namespace aura {
class MouseEvent;
@@ -24,10 +23,9 @@ class Rect;
namespace ash {
namespace internal {
-class ShowStateController;
class WorkspaceManager;
-// LayoutManager for the default window container.
+// LayoutManager for top level windows when WorkspaceManager is enabled.
class ASH_EXPORT WorkspaceLayoutManager : public aura::LayoutManager {
public:
explicit WorkspaceLayoutManager(WorkspaceManager* workspace_manager);
@@ -61,12 +59,11 @@ class ASH_EXPORT WorkspaceLayoutManager : public aura::LayoutManager {
bool visibile) OVERRIDE;
virtual void SetChildBounds(aura::Window* child,
const gfx::Rect& requested_bounds) OVERRIDE;
+
private:
// Owned by WorkspaceController.
WorkspaceManager* workspace_manager_;
- scoped_ptr<ShowStateController> show_state_controller_;
-
DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
};
« no previous file with comments | « ash/wm/workspace/workspace_event_filter.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698