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

Side by Side Diff: ash/aura/wm_shell_aura.h

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/ash.gyp ('k') | ash/aura/wm_shell_aura.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_AURA_WM_SHELL_AURA_H_ 5 #ifndef ASH_AURA_WM_SHELL_AURA_H_
6 #define ASH_AURA_WM_SHELL_AURA_H_ 6 #define ASH_AURA_WM_SHELL_AURA_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 24 matching lines...) Expand all
35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
36 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; 36 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override;
37 bool IsActiveDisplayId(int64_t display_id) const override; 37 bool IsActiveDisplayId(int64_t display_id) const override;
38 bool IsForceMaximizeOnFirstRun() override; 38 bool IsForceMaximizeOnFirstRun() override;
39 bool IsPinned() override; 39 bool IsPinned() override;
40 void SetPinnedWindow(WmWindow* window) override; 40 void SetPinnedWindow(WmWindow* window) override;
41 bool CanShowWindowForUser(WmWindow* window) override; 41 bool CanShowWindowForUser(WmWindow* window) override;
42 void LockCursor() override; 42 void LockCursor() override;
43 void UnlockCursor() override; 43 void UnlockCursor() override;
44 std::vector<WmWindow*> GetAllRootWindows() override; 44 std::vector<WmWindow*> GetAllRootWindows() override;
45 void RecordGestureAction(GestureActionType action) override;
45 void RecordUserMetricsAction(UserMetricsAction action) override; 46 void RecordUserMetricsAction(UserMetricsAction action) override;
46 void RecordTaskSwitchMetric(TaskSwitchSource source) override; 47 void RecordTaskSwitchMetric(TaskSwitchSource source) override;
47 void ShowContextMenu(const gfx::Point& location_in_screen, 48 void ShowContextMenu(const gfx::Point& location_in_screen,
48 ui::MenuSourceType source_type) override; 49 ui::MenuSourceType source_type) override;
49 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 50 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
50 std::unique_ptr<WindowResizer> next_window_resizer, 51 std::unique_ptr<WindowResizer> next_window_resizer,
51 wm::WindowState* window_state) override; 52 wm::WindowState* window_state) override;
52 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() 53 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter()
53 override; 54 override;
54 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() 55 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler()
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 88
88 bool added_display_observer_ = false; 89 bool added_display_observer_ = false;
89 base::ObserverList<WmDisplayObserver> display_observers_; 90 base::ObserverList<WmDisplayObserver> display_observers_;
90 91
91 DISALLOW_COPY_AND_ASSIGN(WmShellAura); 92 DISALLOW_COPY_AND_ASSIGN(WmShellAura);
92 }; 93 };
93 94
94 } // namespace ash 95 } // namespace ash
95 96
96 #endif // ASH_AURA_WM_SHELL_AURA_H_ 97 #endif // ASH_AURA_WM_SHELL_AURA_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698