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

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

Issue 2871813002: Converts remaining usage of WmLayoutManager to aura::LayoutManager (Closed)
Patch Set: cleanup Created 3 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 unified diff | Download patch
« no previous file with comments | « ash/wm/wm_snap_to_pixel_layout_manager.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // display::DisplayObserver overrides: 91 // display::DisplayObserver overrides:
92 void OnDisplayMetricsChanged(const display::Display& display, 92 void OnDisplayMetricsChanged(const display::Display& display,
93 uint32_t changed_metrics) override; 93 uint32_t changed_metrics) override;
94 94
95 // ShellObserver overrides: 95 // ShellObserver overrides:
96 void OnFullscreenStateChanged(bool is_fullscreen, 96 void OnFullscreenStateChanged(bool is_fullscreen,
97 WmWindow* root_window) override; 97 WmWindow* root_window) override;
98 void OnPinnedStateChanged(WmWindow* pinned_window) override; 98 void OnPinnedStateChanged(WmWindow* pinned_window) override;
99 void OnVirtualKeyboardStateChanged(bool activated, 99 void OnVirtualKeyboardStateChanged(bool activated,
100 WmWindow* root_window) override; 100 aura::Window* root_window) override;
101 101
102 private: 102 private:
103 typedef std::set<aura::Window*> WindowSet; 103 typedef std::set<aura::Window*> WindowSet;
104 104
105 // Adjusts the bounds of all managed windows when the display area changes. 105 // Adjusts the bounds of all managed windows when the display area changes.
106 // This happens when the display size, work area insets has changed. 106 // This happens when the display size, work area insets has changed.
107 // If this is called for a display size change (i.e. |event| 107 // If this is called for a display size change (i.e. |event|
108 // is DISPLAY_RESIZED), the non-maximized/non-fullscreen 108 // is DISPLAY_RESIZED), the non-maximized/non-fullscreen
109 // windows are readjusted to make sure the window is completely within the 109 // windows are readjusted to make sure the window is completely within the
110 // display region. Otherwise, it makes sure at least some parts of the window 110 // display region. Otherwise, it makes sure at least some parts of the window
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 ScopedObserver<keyboard::KeyboardController, 142 ScopedObserver<keyboard::KeyboardController,
143 keyboard::KeyboardControllerObserver> 143 keyboard::KeyboardControllerObserver>
144 keyboard_observer_; 144 keyboard_observer_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); 146 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
147 }; 147 };
148 148
149 } // namespace ash 149 } // namespace ash
150 150
151 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 151 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/wm_snap_to_pixel_layout_manager.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698