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

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

Issue 2160833002: Adds WmShell::RecordTaskSwitchMetric() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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/metrics/user_metrics_recorder.cc ('k') | ash/mus/bridge/wm_shell_mus.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 #ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; 57 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override;
58 bool IsActiveDisplayId(int64_t display_id) const override; 58 bool IsActiveDisplayId(int64_t display_id) const override;
59 bool IsForceMaximizeOnFirstRun() override; 59 bool IsForceMaximizeOnFirstRun() override;
60 bool IsPinned() override; 60 bool IsPinned() override;
61 void SetPinnedWindow(WmWindow* window) override; 61 void SetPinnedWindow(WmWindow* window) override;
62 bool CanShowWindowForUser(WmWindow* window) override; 62 bool CanShowWindowForUser(WmWindow* window) override;
63 void LockCursor() override; 63 void LockCursor() override;
64 void UnlockCursor() override; 64 void UnlockCursor() override;
65 std::vector<WmWindow*> GetAllRootWindows() override; 65 std::vector<WmWindow*> GetAllRootWindows() override;
66 void RecordUserMetricsAction(UserMetricsAction action) override; 66 void RecordUserMetricsAction(UserMetricsAction action) override;
67 void RecordTaskSwitchMetric(TaskSwitchSource source) override;
67 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 68 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
68 std::unique_ptr<WindowResizer> next_window_resizer, 69 std::unique_ptr<WindowResizer> next_window_resizer,
69 wm::WindowState* window_state) override; 70 wm::WindowState* window_state) override;
70 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() 71 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter()
71 override; 72 override;
72 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() 73 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler()
73 override; 74 override;
74 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 75 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
75 CreateScopedDisableInternalMouseAndKeyboard() override; 76 CreateScopedDisableInternalMouseAndKeyboard() override;
76 void OnOverviewModeStarting() override; 77 void OnOverviewModeStarting() override;
(...skipping 28 matching lines...) Expand all
105 106
106 base::ObserverList<WmActivationObserver> activation_observers_; 107 base::ObserverList<WmActivationObserver> activation_observers_;
107 108
108 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 109 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
109 }; 110 };
110 111
111 } // namespace mus 112 } // namespace mus
112 } // namespace ash 113 } // namespace ash
113 114
114 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 115 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW
« no previous file with comments | « ash/metrics/user_metrics_recorder.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698