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

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

Issue 2225083003: mash: Add WmShell::SetDisplayWorkAreaInsets for ShelfLayoutManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits; fix bad argument. 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/common/wm_shell.h ('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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 WmWindow* NewContainerWindow() override; 59 WmWindow* NewContainerWindow() override;
60 WmWindow* GetFocusedWindow() override; 60 WmWindow* GetFocusedWindow() override;
61 WmWindow* GetActiveWindow() override; 61 WmWindow* GetActiveWindow() override;
62 WmWindow* GetPrimaryRootWindow() override; 62 WmWindow* GetPrimaryRootWindow() override;
63 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 63 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
64 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; 64 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override;
65 bool IsActiveDisplayId(int64_t display_id) const override; 65 bool IsActiveDisplayId(int64_t display_id) const override;
66 display::Display GetFirstDisplay() const override; 66 display::Display GetFirstDisplay() const override;
67 bool IsInUnifiedMode() const override; 67 bool IsInUnifiedMode() const override;
68 bool IsForceMaximizeOnFirstRun() override; 68 bool IsForceMaximizeOnFirstRun() override;
69 void SetDisplayWorkAreaInsets(WmWindow* window,
70 const gfx::Insets& insets) override;
69 bool IsPinned() override; 71 bool IsPinned() override;
70 void SetPinnedWindow(WmWindow* window) override; 72 void SetPinnedWindow(WmWindow* window) override;
71 bool CanShowWindowForUser(WmWindow* window) override; 73 bool CanShowWindowForUser(WmWindow* window) override;
72 void LockCursor() override; 74 void LockCursor() override;
73 void UnlockCursor() override; 75 void UnlockCursor() override;
74 std::vector<WmWindow*> GetAllRootWindows() override; 76 std::vector<WmWindow*> GetAllRootWindows() override;
75 void RecordGestureAction(GestureActionType action) override; 77 void RecordGestureAction(GestureActionType action) override;
76 void RecordUserMetricsAction(UserMetricsAction action) override; 78 void RecordUserMetricsAction(UserMetricsAction action) override;
77 void RecordTaskSwitchMetric(TaskSwitchSource source) override; 79 void RecordTaskSwitchMetric(TaskSwitchSource source) override;
78 void ShowContextMenu(const gfx::Point& location_in_screen, 80 void ShowContextMenu(const gfx::Point& location_in_screen,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 129
128 base::ObserverList<WmActivationObserver> activation_observers_; 130 base::ObserverList<WmActivationObserver> activation_observers_;
129 131
130 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 132 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
131 }; 133 };
132 134
133 } // namespace mus 135 } // namespace mus
134 } // namespace ash 136 } // namespace ash
135 137
136 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 138 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698