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

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

Issue 2186913003: Eliminate ash::Shell access in ShelfView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool IsActiveDisplayId(int64_t display_id) const override; 65 bool IsActiveDisplayId(int64_t display_id) const override;
66 bool IsForceMaximizeOnFirstRun() override; 66 bool IsForceMaximizeOnFirstRun() override;
67 bool IsPinned() override; 67 bool IsPinned() override;
68 void SetPinnedWindow(WmWindow* window) override; 68 void SetPinnedWindow(WmWindow* window) override;
69 bool CanShowWindowForUser(WmWindow* window) override; 69 bool CanShowWindowForUser(WmWindow* window) override;
70 void LockCursor() override; 70 void LockCursor() override;
71 void UnlockCursor() override; 71 void UnlockCursor() override;
72 std::vector<WmWindow*> GetAllRootWindows() override; 72 std::vector<WmWindow*> GetAllRootWindows() override;
73 void RecordUserMetricsAction(UserMetricsAction action) override; 73 void RecordUserMetricsAction(UserMetricsAction action) override;
74 void RecordTaskSwitchMetric(TaskSwitchSource source) override; 74 void RecordTaskSwitchMetric(TaskSwitchSource source) override;
75 void ShowContextMenu(const gfx::Point& location_in_screen,
76 ui::MenuSourceType source_type) override;
75 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 77 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
76 std::unique_ptr<WindowResizer> next_window_resizer, 78 std::unique_ptr<WindowResizer> next_window_resizer,
77 wm::WindowState* window_state) override; 79 wm::WindowState* window_state) override;
78 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() 80 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter()
79 override; 81 override;
80 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() 82 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler()
81 override; 83 override;
82 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 84 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
83 CreateScopedDisableInternalMouseAndKeyboard() override; 85 CreateScopedDisableInternalMouseAndKeyboard() override;
84 void OnOverviewModeStarting() override; 86 void OnOverviewModeStarting() override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 119
118 base::ObserverList<WmActivationObserver> activation_observers_; 120 base::ObserverList<WmActivationObserver> activation_observers_;
119 121
120 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 122 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
121 }; 123 };
122 124
123 } // namespace mus 125 } // namespace mus
124 } // namespace ash 126 } // namespace ash
125 127
126 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 128 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | ash/shelf/shelf_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698