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

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

Issue 2186913003: Eliminate ash::Shell access in ShelfView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) { 260 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) {
261 // TODO: http://crbug.com/616581. 261 // TODO: http://crbug.com/616581.
262 NOTIMPLEMENTED(); 262 NOTIMPLEMENTED();
263 } 263 }
264 264
265 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) { 265 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) {
266 // TODO: http://crbug.com/616581. 266 // TODO: http://crbug.com/616581.
267 NOTIMPLEMENTED(); 267 NOTIMPLEMENTED();
268 } 268 }
269 269
270 void WmShellMus::ShowContextMenu(const gfx::Point& location_in_screen,
271 ui::MenuSourceType source_type) {
272 NOTIMPLEMENTED();
273 }
274
270 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer( 275 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer(
271 std::unique_ptr<WindowResizer> next_window_resizer, 276 std::unique_ptr<WindowResizer> next_window_resizer,
272 wm::WindowState* window_state) { 277 wm::WindowState* window_state) {
273 return base::WrapUnique( 278 return base::WrapUnique(
274 new DragWindowResizer(std::move(next_window_resizer), window_state)); 279 new DragWindowResizer(std::move(next_window_resizer), window_state));
275 } 280 }
276 281
277 std::unique_ptr<WindowCycleEventFilter> 282 std::unique_ptr<WindowCycleEventFilter>
278 WmShellMus::CreateWindowCycleEventFilter() { 283 WmShellMus::CreateWindowCycleEventFilter() {
279 // TODO: implement me, http://crbug.com/629191. 284 // TODO: implement me, http://crbug.com/629191.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 OnWindowActivated(gained_active, lost_active)); 366 OnWindowActivated(gained_active, lost_active));
362 } 367 }
363 368
364 void WmShellMus::OnDidDestroyClient(::ui::WindowTreeClient* client) { 369 void WmShellMus::OnDidDestroyClient(::ui::WindowTreeClient* client) {
365 DCHECK_EQ(window_tree_client(), client); 370 DCHECK_EQ(window_tree_client(), client);
366 client->RemoveObserver(this); 371 client->RemoveObserver(this);
367 } 372 }
368 373
369 } // namespace mus 374 } // namespace mus
370 } // namespace ash 375 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/shelf/shelf_view.cc » ('j') | ash/shelf/shelf_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698