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

Side by Side Diff: ash/wm/workspace/workspace_layout_manager.h

Issue 9689027: MonitorManager to manage multiple monitors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/wm/base_layout_manager.h" 9 #include "ash/wm/base_layout_manager.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 39
40 // Overridden from BaseLayoutManager: 40 // Overridden from BaseLayoutManager:
41 virtual void OnWindowResized() OVERRIDE; 41 virtual void OnWindowResized() OVERRIDE;
42 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; 42 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
43 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; 43 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE;
44 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 44 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
45 bool visibile) OVERRIDE; 45 bool visibile) OVERRIDE;
46 virtual void SetChildBounds(aura::Window* child, 46 virtual void SetChildBounds(aura::Window* child,
47 const gfx::Rect& requested_bounds) OVERRIDE; 47 const gfx::Rect& requested_bounds) OVERRIDE;
48 virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE; 48 virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE;
49 virtual void OnScreenWorkAreaInsetsChanged() OVERRIDE; 49 virtual void OnMonitorWorkAreaInsetsChanged() OVERRIDE;
50 50
51 // Overriden from aura::WindowObserver: 51 // Overriden from aura::WindowObserver:
52 virtual void OnWindowPropertyChanged(aura::Window* window, 52 virtual void OnWindowPropertyChanged(aura::Window* window,
53 const void* key, 53 const void* key,
54 intptr_t old) OVERRIDE; 54 intptr_t old) OVERRIDE;
55 55
56 private: 56 private:
57 // Owned by WorkspaceController. 57 // Owned by WorkspaceController.
58 WorkspaceManager* workspace_manager_; 58 WorkspaceManager* workspace_manager_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); 60 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
61 }; 61 };
62 62
63 } // namespace internal 63 } // namespace internal
64 } // namespace ash 64 } // namespace ash
65 65
66 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 66 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/toplevel_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698