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

Side by Side Diff: ui/aura/mus/window_manager_delegate.h

Issue 2830703003: [views-mus] Support custom cursors. (Closed)
Patch Set: fix cast_shell_linux 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 | « ui/aura/mus/in_flight_change.cc ('k') | ui/aura/mus/window_mus.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 5 #ifndef UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 30 matching lines...) Expand all
41 41
42 struct WindowTreeHostMusInitParams; 42 struct WindowTreeHostMusInitParams;
43 43
44 // See the mojom with the same name for details on the functions in this 44 // See the mojom with the same name for details on the functions in this
45 // interface. 45 // interface.
46 class AURA_EXPORT WindowManagerClient { 46 class AURA_EXPORT WindowManagerClient {
47 public: 47 public:
48 virtual void SetFrameDecorationValues( 48 virtual void SetFrameDecorationValues(
49 ui::mojom::FrameDecorationValuesPtr values) = 0; 49 ui::mojom::FrameDecorationValuesPtr values) = 0;
50 virtual void SetNonClientCursor(Window* window, 50 virtual void SetNonClientCursor(Window* window,
51 ui::mojom::CursorType non_client_cursor) = 0; 51 const ui::CursorData& non_client_cursor) = 0;
52 52
53 virtual void AddAccelerators( 53 virtual void AddAccelerators(
54 std::vector<ui::mojom::WmAcceleratorPtr> accelerators, 54 std::vector<ui::mojom::WmAcceleratorPtr> accelerators,
55 const base::Callback<void(bool)>& callback) = 0; 55 const base::Callback<void(bool)>& callback) = 0;
56 virtual void RemoveAccelerator(uint32_t id) = 0; 56 virtual void RemoveAccelerator(uint32_t id) = 0;
57 virtual void AddActivationParent(Window* window) = 0; 57 virtual void AddActivationParent(Window* window) = 0;
58 virtual void RemoveActivationParent(Window* window) = 0; 58 virtual void RemoveActivationParent(Window* window) = 0;
59 virtual void ActivateNextWindow() = 0; 59 virtual void ActivateNextWindow() = 0;
60 virtual void SetExtendedHitArea(Window* window, 60 virtual void SetExtendedHitArea(Window* window,
61 const gfx::Insets& hit_area) = 0; 61 const gfx::Insets& hit_area) = 0;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // window. 193 // window.
194 virtual void OnWmDeactivateWindow(Window* window) = 0; 194 virtual void OnWmDeactivateWindow(Window* window) = 0;
195 195
196 protected: 196 protected:
197 virtual ~WindowManagerDelegate() {} 197 virtual ~WindowManagerDelegate() {}
198 }; 198 };
199 199
200 } // namespace ui 200 } // namespace ui
201 201
202 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 202 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/in_flight_change.cc ('k') | ui/aura/mus/window_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698