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

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

Issue 2904073002: [mus+ash] Removes WmWindow from ash/wm/screen_pinning_controller.h (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/wm/screen_pinning_controller.h (removes unneeded header) Created 3 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
« no previous file with comments | « ash/wm/screen_pinning_controller.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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void OnPostWindowStateTypeChange(wm::WindowState* window_state, 92 void OnPostWindowStateTypeChange(wm::WindowState* window_state,
93 wm::WindowStateType old_type) override; 93 wm::WindowStateType old_type) override;
94 94
95 // display::DisplayObserver overrides: 95 // display::DisplayObserver overrides:
96 void OnDisplayMetricsChanged(const display::Display& display, 96 void OnDisplayMetricsChanged(const display::Display& display,
97 uint32_t changed_metrics) override; 97 uint32_t changed_metrics) override;
98 98
99 // ShellObserver overrides: 99 // ShellObserver overrides:
100 void OnFullscreenStateChanged(bool is_fullscreen, 100 void OnFullscreenStateChanged(bool is_fullscreen,
101 WmWindow* root_window) override; 101 WmWindow* root_window) override;
102 void OnPinnedStateChanged(WmWindow* pinned_window) override; 102 void OnPinnedStateChanged(aura::Window* pinned_window) override;
103 void OnVirtualKeyboardStateChanged(bool activated, 103 void OnVirtualKeyboardStateChanged(bool activated,
104 aura::Window* root_window) override; 104 aura::Window* root_window) override;
105 105
106 private: 106 private:
107 friend class test::WorkspaceControllerTestApi; 107 friend class test::WorkspaceControllerTestApi;
108 typedef std::set<aura::Window*> WindowSet; 108 typedef std::set<aura::Window*> WindowSet;
109 109
110 // Adjusts the bounds of all managed windows when the display area changes. 110 // Adjusts the bounds of all managed windows when the display area changes.
111 // This happens when the display size, work area insets has changed. 111 // This happens when the display size, work area insets has changed.
112 // If this is called for a display size change (i.e. |event| 112 // If this is called for a display size change (i.e. |event|
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 ScopedObserver<keyboard::KeyboardController, 147 ScopedObserver<keyboard::KeyboardController,
148 keyboard::KeyboardControllerObserver> 148 keyboard::KeyboardControllerObserver>
149 keyboard_observer_; 149 keyboard_observer_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); 151 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
152 }; 152 };
153 153
154 } // namespace ash 154 } // namespace ash
155 155
156 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 156 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/screen_pinning_controller.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698