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

Side by Side Diff: ash/mus/window_manager.cc

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thread move loop source through api. Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/window_manager.h" 5 #include "ash/mus/window_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 switch (id) { 233 switch (id) {
234 case kWindowSwitchAccelerator: 234 case kWindowSwitchAccelerator:
235 window_manager_client()->ActivateNextWindow(); 235 window_manager_client()->ActivateNextWindow();
236 break; 236 break;
237 default: 237 default:
238 window_manager_app_->OnAccelerator(id, event); 238 window_manager_app_->OnAccelerator(id, event);
239 break; 239 break;
240 } 240 }
241 } 241 }
242 242
243 void WindowManager::OnWmPerformMoveLoop(
244 ::mus::Window* window,
245 ::mus::mojom::MoveLoopSource source,
246 const gfx::Point& cursor_location,
247 const base::Callback<void(bool)>& on_done) {
248 NOTIMPLEMENTED();
249 }
250
251 void WindowManager::OnWmCancelMoveLoop(::mus::Window* window) {
252 NOTIMPLEMENTED();
253 }
254
243 } // namespace mus 255 } // namespace mus
244 } // namespace ash 256 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698