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

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

Issue 2336883002: mash: Port context menu code to WmShell and WmRootWindowController. (Closed)
Patch Set: Fix error. Created 4 years, 3 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 | « no previous file | 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 bool IsPinned() override; 50 bool IsPinned() override;
51 void SetPinnedWindow(WmWindow* window) override; 51 void SetPinnedWindow(WmWindow* window) override;
52 bool CanShowWindowForUser(WmWindow* window) override; 52 bool CanShowWindowForUser(WmWindow* window) override;
53 void LockCursor() override; 53 void LockCursor() override;
54 void UnlockCursor() override; 54 void UnlockCursor() override;
55 bool IsMouseEventsEnabled() override; 55 bool IsMouseEventsEnabled() override;
56 std::vector<WmWindow*> GetAllRootWindows() override; 56 std::vector<WmWindow*> GetAllRootWindows() override;
57 void RecordGestureAction(GestureActionType action) override; 57 void RecordGestureAction(GestureActionType action) override;
58 void RecordUserMetricsAction(UserMetricsAction action) override; 58 void RecordUserMetricsAction(UserMetricsAction action) override;
59 void RecordTaskSwitchMetric(TaskSwitchSource source) override; 59 void RecordTaskSwitchMetric(TaskSwitchSource source) override;
60 void ShowContextMenu(const gfx::Point& location_in_screen,
61 ui::MenuSourceType source_type) override;
62 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 60 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
63 std::unique_ptr<WindowResizer> next_window_resizer, 61 std::unique_ptr<WindowResizer> next_window_resizer,
64 wm::WindowState* window_state) override; 62 wm::WindowState* window_state) override;
65 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() 63 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter()
66 override; 64 override;
67 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() 65 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler()
68 override; 66 override;
69 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( 67 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler(
70 WmWindow* workspace_window) override; 68 WmWindow* workspace_window) override;
71 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 69 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 105
108 bool added_display_observer_ = false; 106 bool added_display_observer_ = false;
109 base::ObserverList<WmDisplayObserver> display_observers_; 107 base::ObserverList<WmDisplayObserver> display_observers_;
110 108
111 DISALLOW_COPY_AND_ASSIGN(WmShellAura); 109 DISALLOW_COPY_AND_ASSIGN(WmShellAura);
112 }; 110 };
113 111
114 } // namespace ash 112 } // namespace ash
115 113
116 #endif // ASH_AURA_WM_SHELL_AURA_H_ 114 #endif // ASH_AURA_WM_SHELL_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698