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

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

Issue 2735033003: Promotes IsForceMaximizeOnFirstRun() to WmShell (Closed)
Patch Set: Created 3 years, 9 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') | no next file » | 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/key_event_watcher.h" 10 #include "ash/common/key_event_watcher.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 NOTIMPLEMENTED(); 250 NOTIMPLEMENTED();
251 return false; 251 return false;
252 } 252 }
253 253
254 bool WmShellMus::IsInUnifiedModeIgnoreMirroring() const { 254 bool WmShellMus::IsInUnifiedModeIgnoreMirroring() const {
255 // TODO(mash): implement http://crbug.com/622480. 255 // TODO(mash): implement http://crbug.com/622480.
256 NOTIMPLEMENTED(); 256 NOTIMPLEMENTED();
257 return false; 257 return false;
258 } 258 }
259 259
260 bool WmShellMus::IsForceMaximizeOnFirstRun() {
261 NOTIMPLEMENTED();
262 return false;
263 }
264
265 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window, 260 void WmShellMus::SetDisplayWorkAreaInsets(WmWindow* window,
266 const gfx::Insets& insets) { 261 const gfx::Insets& insets) {
267 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets); 262 window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets);
268 } 263 }
269 264
270 bool WmShellMus::IsPinned() { 265 bool WmShellMus::IsPinned() {
271 // TODO: http://crbug.com/622486. 266 // TODO: http://crbug.com/622486.
272 NOTIMPLEMENTED(); 267 NOTIMPLEMENTED();
273 return false; 268 return false;
274 } 269 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 } 417 }
423 418
424 void WmShellMus::CreatePrimaryHost() {} 419 void WmShellMus::CreatePrimaryHost() {}
425 420
426 void WmShellMus::InitHosts(const ShellInitParams& init_params) { 421 void WmShellMus::InitHosts(const ShellInitParams& init_params) {
427 window_manager_->CreatePrimaryRootWindowController( 422 window_manager_->CreatePrimaryRootWindowController(
428 base::WrapUnique(init_params.primary_window_tree_host)); 423 base::WrapUnique(init_params.primary_window_tree_host));
429 } 424 }
430 } // namespace mus 425 } // namespace mus
431 } // namespace ash 426 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698