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

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: dcheng nits 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
« no previous file with comments | « ash/mus/window_manager.h ('k') | services/ui/demo/mus_demo.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 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 FOR_EACH_OBSERVER(WindowManagerObserver, observers_, 238 FOR_EACH_OBSERVER(WindowManagerObserver, observers_,
239 OnAccelerator(id, event)); 239 OnAccelerator(id, event));
240 break; 240 break;
241 } 241 }
242 } 242 }
243 243
244 void WindowManager::OnWmPerformMoveLoop(
245 ::ui::Window* window,
246 ::ui::mojom::MoveLoopSource source,
247 const gfx::Point& cursor_location,
248 const base::Callback<void(bool)>& on_done) {
249 NOTIMPLEMENTED();
250 }
251
252 void WindowManager::OnWmCancelMoveLoop(::ui::Window* window) {
253 NOTIMPLEMENTED();
254 }
255
244 } // namespace mus 256 } // namespace mus
245 } // namespace ash 257 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/window_manager.h ('k') | services/ui/demo/mus_demo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698