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

Side by Side Diff: ash/shelf/shelf_layout_manager.h

Issue 2072853002: Implement "pinned" mode in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 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/mus/bridge/wm_shell_mus.cc ('k') | ash/shelf/shelf_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_SHELF_SHELF_LAYOUT_MANAGER_H_ 5 #ifndef ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 // Overridden from SnapLayoutManager: 149 // Overridden from SnapLayoutManager:
150 void OnWindowResized() override; 150 void OnWindowResized() override;
151 void SetChildBounds(aura::Window* child, 151 void SetChildBounds(aura::Window* child,
152 const gfx::Rect& requested_bounds) override; 152 const gfx::Rect& requested_bounds) override;
153 153
154 // Overridden from ash::ShellObserver: 154 // Overridden from ash::ShellObserver:
155 void OnLockStateChanged(bool locked) override; 155 void OnLockStateChanged(bool locked) override;
156 void OnShelfAlignmentChanged(WmWindow* root_window) override; 156 void OnShelfAlignmentChanged(WmWindow* root_window) override;
157 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) override; 157 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) override;
158 void OnPinnedStateChanged(WmWindow* pinned_window) override;
158 159
159 // Overriden from aura::client::ActivationChangeObserver: 160 // Overriden from aura::client::ActivationChangeObserver:
160 void OnWindowActivated( 161 void OnWindowActivated(
161 aura::client::ActivationChangeObserver::ActivationReason reason, 162 aura::client::ActivationChangeObserver::ActivationReason reason,
162 aura::Window* gained_active, 163 aura::Window* gained_active,
163 aura::Window* lost_active) override; 164 aura::Window* lost_active) override;
164 165
165 // Overridden from ash::LockStateObserver: 166 // Overridden from ash::LockStateObserver:
166 void OnLockStateEvent(LockStateObserver::EventType event) override; 167 void OnLockStateEvent(LockStateObserver::EventType event) override;
167 168
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 392
392 std::unique_ptr<RootWindowControllerObserverImpl> 393 std::unique_ptr<RootWindowControllerObserverImpl>
393 root_window_controller_observer_; 394 root_window_controller_observer_;
394 395
395 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); 396 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
396 }; 397 };
397 398
398 } // namespace ash 399 } // namespace ash
399 400
400 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 401 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698