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

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

Issue 2063333002: mash: Move all ash UMA metrics to //ash/common/metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/system/date/date_default_view.cc » ('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 "ash/common/default_accessibility_delegate.h" 7 #include "ash/common/default_accessibility_delegate.h"
8 #include "ash/common/session/session_state_delegate.h" 8 #include "ash/common/session/session_state_delegate.h"
9 #include "ash/common/shell_observer.h" 9 #include "ash/common/shell_observer.h"
10 #include "ash/common/shell_window_ids.h" 10 #include "ash/common/shell_window_ids.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 NOTIMPLEMENTED(); 195 NOTIMPLEMENTED();
196 } 196 }
197 197
198 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() { 198 std::vector<WmWindow*> WmShellMus::GetAllRootWindows() {
199 std::vector<WmWindow*> wm_windows(root_window_controllers_.size()); 199 std::vector<WmWindow*> wm_windows(root_window_controllers_.size());
200 for (size_t i = 0; i < root_window_controllers_.size(); ++i) 200 for (size_t i = 0; i < root_window_controllers_.size(); ++i)
201 wm_windows[i] = root_window_controllers_[i]->GetWindow(); 201 wm_windows[i] = root_window_controllers_[i]->GetWindow();
202 return wm_windows; 202 return wm_windows;
203 } 203 }
204 204
205 void WmShellMus::RecordUserMetricsAction(wm::WmUserMetricsAction action) { 205 void WmShellMus::RecordUserMetricsAction(UserMetricsAction action) {
206 NOTIMPLEMENTED(); 206 NOTIMPLEMENTED();
207 } 207 }
208 208
209 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer( 209 std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer(
210 std::unique_ptr<WindowResizer> next_window_resizer, 210 std::unique_ptr<WindowResizer> next_window_resizer,
211 wm::WindowState* window_state) { 211 wm::WindowState* window_state) {
212 return base::WrapUnique( 212 return base::WrapUnique(
213 new DragWindowResizer(std::move(next_window_resizer), window_state)); 213 new DragWindowResizer(std::move(next_window_resizer), window_state));
214 } 214 }
215 215
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 OnWindowActivated(gained_active, lost_active)); 291 OnWindowActivated(gained_active, lost_active));
292 } 292 }
293 293
294 void WmShellMus::OnWillDestroyClient(::mus::WindowTreeClient* client) { 294 void WmShellMus::OnWillDestroyClient(::mus::WindowTreeClient* client) {
295 DCHECK_EQ(client, client_); 295 DCHECK_EQ(client, client_);
296 RemoveClientObserver(); 296 RemoveClientObserver();
297 } 297 }
298 298
299 } // namespace mus 299 } // namespace mus
300 } // namespace ash 300 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/system/date/date_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698