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

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: 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 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<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() 71 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler()
71 override; 72 override;
72 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 73 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
73 CreateScopedDisableInternalMouseAndKeyboard() override; 74 CreateScopedDisableInternalMouseAndKeyboard() override;
74 void OnOverviewModeStarting() override; 75 void OnOverviewModeStarting() override;
75 void OnOverviewModeEnded() override; 76 void OnOverviewModeEnded() override;
76 SessionStateDelegate* GetSessionStateDelegate() override; 77 SessionStateDelegate* GetSessionStateDelegate() override;
(...skipping 26 matching lines...) Expand all
103 104
104 base::ObserverList<WmActivationObserver> activation_observers_; 105 base::ObserverList<WmActivationObserver> activation_observers_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 107 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
107 }; 108 };
108 109
109 } // namespace mus 110 } // namespace mus
110 } // namespace ash 111 } // namespace ash
111 112
112 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 113 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698