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

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

Issue 2223553003: Adds WmShell::RecordGestureAction() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp 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
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/touch/touch_uma.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/display/display_info.h" 10 #include "ash/common/display/display_info.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 NOTIMPLEMENTED(); 248 NOTIMPLEMENTED();
249 } 249 }
250 250
251 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() { 251 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() {
252 std::vector<WmWindow*> wm_windows(root_window_controllers_.size()); 252 std::vector<WmWindow*> wm_windows(root_window_controllers_.size());
253 for (size_t i = 0; i < root_window_controllers_.size(); ++i) 253 for (size_t i = 0; i < root_window_controllers_.size(); ++i)
254 wm_windows[i] = root_window_controllers_[i]->GetWindow(); 254 wm_windows[i] = root_window_controllers_[i]->GetWindow();
255 return wm_windows; 255 return wm_windows;
256 } 256 }
257 257
258 void WmShellMus::RecordGestureAction(GestureActionType action) {
259 // TODO: http://crbug.com/616581.
260 NOTIMPLEMENTED();
261 }
262
258 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) { 263 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) {
259 // TODO: http://crbug.com/616581. 264 // TODO: http://crbug.com/616581.
260 NOTIMPLEMENTED(); 265 NOTIMPLEMENTED();
261 } 266 }
262 267
263 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) { 268 void WmShellMus::RecordTaskSwitchMetric(TaskSwitchSource source) {
264 // TODO: http://crbug.com/616581. 269 // TODO: http://crbug.com/616581.
265 NOTIMPLEMENTED(); 270 NOTIMPLEMENTED();
266 } 271 }
267 272
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 OnWindowActivated(gained_active, lost_active)); 378 OnWindowActivated(gained_active, lost_active));
374 } 379 }
375 380
376 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { 381 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) {
377 DCHECK_EQ(window_tree_client(), client); 382 DCHECK_EQ(window_tree_client(), client);
378 client->RemoveObserver(this); 383 client->RemoveObserver(this);
379 } 384 }
380 385
381 } // namespace mus 386 } // namespace mus
382 } // namespace ash 387 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/touch/touch_uma.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698