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

Side by Side Diff: ash/mus/bridge/wm_shell_mus.cc

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/mus/bridge/wm_shell_mus.h ('k') | ash/shelf/shelf_layout_manager.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "ash/mus/bridge/wm_shell_mus.h" 5 #include "ash/mus/bridge/wm_shell_mus.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/accelerators/accelerator_controller.h" 9 #include "ash/common/accelerators/accelerator_controller.h"
10 #include "ash/common/display/display_info.h" 10 #include "ash/common/display/display_info.h"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 bool WmShellMus::IsInUnifiedMode() const { 233 bool WmShellMus::IsInUnifiedMode() const {
234 // TODO(mash): implement http://crbug.com/622480. 234 // TODO(mash): implement http://crbug.com/622480.
235 return false; 235 return false;
236 } 236 }
237 237
238 bool WmShellMus::IsForceMaximizeOnFirstRun() { 238 bool WmShellMus::IsForceMaximizeOnFirstRun() {
239 NOTIMPLEMENTED(); 239 NOTIMPLEMENTED();
240 return false; 240 return false;
241 } 241 }
242 242
243 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window,
244 const gfx::Insets& insets) {
245 NOTIMPLEMENTED();
246 }
247
243 bool WmShellMus::IsPinned() { 248 bool WmShellMus::IsPinned() {
244 NOTIMPLEMENTED(); 249 NOTIMPLEMENTED();
245 return false; 250 return false;
246 } 251 }
247 252
248 void WmShellMus::SetPinnedWindow(WmWindow* window) { 253 void WmShellMus::SetPinnedWindow(WmWindow* window) {
249 NOTIMPLEMENTED(); 254 NOTIMPLEMENTED();
250 } 255 }
251 256
252 bool WmShellMus::CanShowWindowForUser(WmWindow* window) { 257 bool WmShellMus::CanShowWindowForUser(WmWindow* window) {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 OnWindowActivated(gained_active, lost_active)); 403 OnWindowActivated(gained_active, lost_active));
399 } 404 }
400 405
401 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { 406 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) {
402 DCHECK_EQ(window_tree_client(), client); 407 DCHECK_EQ(window_tree_client(), client);
403 client->RemoveObserver(this); 408 client->RemoveObserver(this);
404 } 409 }
405 410
406 } // namespace mus 411 } // namespace mus
407 } // namespace ash 412 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698