Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: ash/root_window_controller.h

Issue 10659006: move windows when disconnecting secondary monitors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 void CreateContainers(); 60 void CreateContainers();
61 void InitLayoutManagers(); 61 void InitLayoutManagers();
62 62
63 // Deletes all child windows and performs necessary cleanup. 63 // Deletes all child windows and performs necessary cleanup.
64 void CloseChildWindows(); 64 void CloseChildWindows();
65 65
66 // Returns true if the workspace has a maximized or fullscreen window. 66 // Returns true if the workspace has a maximized or fullscreen window.
67 bool IsInMaximizedMode() const; 67 bool IsInMaximizedMode() const;
68 68
69 // Moves child windows to the |dest|.
sky 2012/06/25 22:05:14 remove 'the'.
oshima 2012/06/25 22:42:28 Done.
70 void MoveWindowsTo(aura::RootWindow* dest);
71
69 private: 72 private:
70 scoped_ptr<aura::RootWindow> root_window_; 73 scoped_ptr<aura::RootWindow> root_window_;
71 internal::RootWindowLayoutManager* root_window_layout_; 74 internal::RootWindowLayoutManager* root_window_layout_;
72 75
73 // An event filter that pre-handles all key events to send them to an IME. 76 // An event filter that pre-handles all key events to send them to an IME.
74 scoped_ptr<internal::EventClientImpl> event_client_; 77 scoped_ptr<internal::EventClientImpl> event_client_;
75 scoped_ptr<internal::ScreenDimmer> screen_dimmer_; 78 scoped_ptr<internal::ScreenDimmer> screen_dimmer_;
76 scoped_ptr<internal::WorkspaceController> workspace_controller_; 79 scoped_ptr<internal::WorkspaceController> workspace_controller_;
77 80
78 DISALLOW_COPY_AND_ASSIGN(RootWindowController); 81 DISALLOW_COPY_AND_ASSIGN(RootWindowController);
79 }; 82 };
80 83
81 } // namespace internal 84 } // namespace internal
82 } // ash 85 } // ash
83 86
84 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 87 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698