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

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

Issue 2336883002: mash: Port context menu code to WmShell and WmRootWindowController. (Closed)
Patch Set: Fix error. Created 4 years, 3 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/root_window_controller.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/keyboard/keyboard_ui.h" 10 #include "ash/common/keyboard/keyboard_ui.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) { 311 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) {
312 // TODO: http://crbug.com/616581. 312 // TODO: http://crbug.com/616581.
313 NOTIMPLEMENTED(); 313 NOTIMPLEMENTED();
314 } 314 }
315 315
316 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) { 316 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) {
317 // TODO: http://crbug.com/616581. 317 // TODO: http://crbug.com/616581.
318 NOTIMPLEMENTED(); 318 NOTIMPLEMENTED();
319 } 319 }
320 320
321 void WmShellMus::ShowContextMenu(const gfx::Point& location_in_screen,
322 ui::MenuSourceType source_type) {
323 // TODO: http://crbug.com/640693.
324 NOTIMPLEMENTED();
325 }
326
327 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer( 321 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer(
328 std::unique_ptr<WindowResizer> next_window_resizer, 322 std::unique_ptr<WindowResizer> next_window_resizer,
329 wm::WindowState* window_state) { 323 wm::WindowState* window_state) {
330 return base::MakeUnique<DragWindowResizer>(std::move(next_window_resizer), 324 return base::MakeUnique<DragWindowResizer>(std::move(next_window_resizer),
331 window_state); 325 window_state);
332 } 326 }
333 327
334 std::unique_ptr<WindowCycleEventFilter> 328 std::unique_ptr<WindowCycleEventFilter>
335 WmShellMus::CreateWindowCycleEventFilter() { 329 WmShellMus::CreateWindowCycleEventFilter() {
336 // TODO: implement me, http://crbug.com/629191. 330 // TODO: implement me, http://crbug.com/629191.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 OnWindowActivated(gained_active, lost_active)); 435 OnWindowActivated(gained_active, lost_active));
442 } 436 }
443 437
444 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { 438 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) {
445 DCHECK_EQ(window_tree_client(), client); 439 DCHECK_EQ(window_tree_client(), client);
446 client->RemoveObserver(this); 440 client->RemoveObserver(this);
447 } 441 }
448 442
449 } // namespace mus 443 } // namespace mus
450 } // namespace ash 444 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698