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

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

Issue 2857963003: Add {Lock,Unlock,Show,Hide}Cursor() to the window manager mojom. (Closed)
Patch Set: sky comments Created 3 years, 7 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/shell_port_classic.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_SHELL_PORT_CLASSIC_H_ 5 #ifndef ASH_AURA_SHELL_PORT_CLASSIC_H_
6 #define ASH_AURA_SHELL_PORT_CLASSIC_H_ 6 #define ASH_AURA_SHELL_PORT_CLASSIC_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 29 matching lines...) Expand all
40 const display::ManagedDisplayInfo& GetDisplayInfo( 40 const display::ManagedDisplayInfo& GetDisplayInfo(
41 int64_t display_id) const override; 41 int64_t display_id) const override;
42 bool IsActiveDisplayId(int64_t display_id) const override; 42 bool IsActiveDisplayId(int64_t display_id) const override;
43 display::Display GetFirstDisplay() const override; 43 display::Display GetFirstDisplay() const override;
44 bool IsInUnifiedMode() const override; 44 bool IsInUnifiedMode() const override;
45 bool IsInUnifiedModeIgnoreMirroring() const override; 45 bool IsInUnifiedModeIgnoreMirroring() const override;
46 void SetDisplayWorkAreaInsets(WmWindow* window, 46 void SetDisplayWorkAreaInsets(WmWindow* window,
47 const gfx::Insets& insets) override; 47 const gfx::Insets& insets) override;
48 void LockCursor() override; 48 void LockCursor() override;
49 void UnlockCursor() override; 49 void UnlockCursor() override;
50 void ShowCursor() override;
51 void HideCursor() override;
52 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override;
50 bool IsMouseEventsEnabled() override; 53 bool IsMouseEventsEnabled() override;
51 std::vector<WmWindow*> GetAllRootWindows() override; 54 std::vector<WmWindow*> GetAllRootWindows() override;
52 void RecordGestureAction(GestureActionType action) override; 55 void RecordGestureAction(GestureActionType action) override;
53 void RecordUserMetricsAction(UserMetricsAction action) override; 56 void RecordUserMetricsAction(UserMetricsAction action) override;
54 void RecordTaskSwitchMetric(TaskSwitchSource source) override; 57 void RecordTaskSwitchMetric(TaskSwitchSource source) override;
55 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 58 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
56 std::unique_ptr<WindowResizer> next_window_resizer, 59 std::unique_ptr<WindowResizer> next_window_resizer,
57 wm::WindowState* window_state) override; 60 wm::WindowState* window_state) override;
58 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() 61 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter()
59 override; 62 override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 103
101 std::unique_ptr<AcceleratorControllerDelegateAura> 104 std::unique_ptr<AcceleratorControllerDelegateAura>
102 accelerator_controller_delegate_; 105 accelerator_controller_delegate_;
103 106
104 DISALLOW_COPY_AND_ASSIGN(ShellPortClassic); 107 DISALLOW_COPY_AND_ASSIGN(ShellPortClassic);
105 }; 108 };
106 109
107 } // namespace ash 110 } // namespace ash
108 111
109 #endif // ASH_AURA_SHELL_PORT_CLASSIC_H_ 112 #endif // ASH_AURA_SHELL_PORT_CLASSIC_H_
OLDNEW
« no previous file with comments | « no previous file | ash/aura/shell_port_classic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698