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

Side by Side Diff: ash/shell.h

Issue 2225083003: mash: Add WmShell::SetDisplayWorkAreaInsets for ShelfLayoutManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits; fix bad argument. Created 4 years, 4 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/shelf/shelf_layout_manager.cc ('k') | ash/wm/drag_window_resizer_unittest.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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // Shows the context menu for the background and launcher at 209 // Shows the context menu for the background and launcher at
210 // |location_in_screen| (in screen coordinates). 210 // |location_in_screen| (in screen coordinates).
211 void ShowContextMenu(const gfx::Point& location_in_screen, 211 void ShowContextMenu(const gfx::Point& location_in_screen,
212 ui::MenuSourceType source_type); 212 ui::MenuSourceType source_type);
213 213
214 // Creates a default views::NonClientFrameView for use by windows in the 214 // Creates a default views::NonClientFrameView for use by windows in the
215 // Ash environment. 215 // Ash environment.
216 views::NonClientFrameView* CreateDefaultNonClientFrameView( 216 views::NonClientFrameView* CreateDefaultNonClientFrameView(
217 views::Widget* widget); 217 views::Widget* widget);
218 218
219 // Sets the work area insets of the display that contains |window|, 219 // Sets work area insets of the display containing |window|, pings observers.
220 // this notifies observers too.
221 // TODO(sky): this no longer really replicates what happens and is unreliable.
222 // Remove this.
223 void SetDisplayWorkAreaInsets(aura::Window* window, 220 void SetDisplayWorkAreaInsets(aura::Window* window,
224 const gfx::Insets& insets); 221 const gfx::Insets& insets);
225 222
226 // Called when the user logs in. 223 // Called when the user logs in.
227 void OnLoginStateChanged(LoginStatus status); 224 void OnLoginStateChanged(LoginStatus status);
228 225
229 // Called after the logged-in user's profile is ready. 226 // Called after the logged-in user's profile is ready.
230 void OnLoginUserProfilePrepared(); 227 void OnLoginUserProfilePrepared();
231 228
232 // Called when the login status changes. 229 // Called when the login status changes.
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 base::SequencedWorkerPool* blocking_pool_; 619 base::SequencedWorkerPool* blocking_pool_;
623 620
624 bool in_mus_ = false; 621 bool in_mus_ = false;
625 622
626 DISALLOW_COPY_AND_ASSIGN(Shell); 623 DISALLOW_COPY_AND_ASSIGN(Shell);
627 }; 624 };
628 625
629 } // namespace ash 626 } // namespace ash
630 627
631 #endif // ASH_SHELL_H_ 628 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698