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

Side by Side Diff: ui/aura/mus/window_mus.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/window_manager_delegate.h ('k') | ui/aura/mus/window_port_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 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 UI_AURA_MUS_WINDOW_MUS_H_ 5 #ifndef UI_AURA_MUS_WINDOW_MUS_H_
6 #define UI_AURA_MUS_WINDOW_MUS_H_ 6 #define UI_AURA_MUS_WINDOW_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual void AddChildFromServer(WindowMus* window) = 0; 74 virtual void AddChildFromServer(WindowMus* window) = 0;
75 virtual void RemoveChildFromServer(WindowMus* child) = 0; 75 virtual void RemoveChildFromServer(WindowMus* child) = 0;
76 virtual void ReorderFromServer(WindowMus* child, 76 virtual void ReorderFromServer(WindowMus* child,
77 WindowMus* relative, 77 WindowMus* relative,
78 ui::mojom::OrderDirection) = 0; 78 ui::mojom::OrderDirection) = 0;
79 virtual void SetBoundsFromServer( 79 virtual void SetBoundsFromServer(
80 const gfx::Rect& bounds, 80 const gfx::Rect& bounds,
81 const base::Optional<cc::LocalSurfaceId>& local_surface_id) = 0; 81 const base::Optional<cc::LocalSurfaceId>& local_surface_id) = 0;
82 virtual void SetVisibleFromServer(bool visible) = 0; 82 virtual void SetVisibleFromServer(bool visible) = 0;
83 virtual void SetOpacityFromServer(float opacity) = 0; 83 virtual void SetOpacityFromServer(float opacity) = 0;
84 virtual void SetPredefinedCursorFromServer(ui::mojom::CursorType cursor) = 0; 84 virtual void SetCursorFromServer(const ui::CursorData& cursor) = 0;
85 virtual void SetPropertyFromServer(const std::string& property_name, 85 virtual void SetPropertyFromServer(const std::string& property_name,
86 const std::vector<uint8_t>* data) = 0; 86 const std::vector<uint8_t>* data) = 0;
87 virtual void SetFrameSinkIdFromServer( 87 virtual void SetFrameSinkIdFromServer(
88 const cc::FrameSinkId& frame_sink_id) = 0; 88 const cc::FrameSinkId& frame_sink_id) = 0;
89 virtual const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId( 89 virtual const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId(
90 const gfx::Size& new_size) = 0; 90 const gfx::Size& new_size) = 0;
91 virtual void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) = 0; 91 virtual void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) = 0;
92 virtual void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) = 0; 92 virtual void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) = 0;
93 // The window was deleted on the server side. DestroyFromServer() should 93 // The window was deleted on the server side. DestroyFromServer() should
94 // result in deleting |this|. 94 // result in deleting |this|.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 void set_server_id(Id id) { server_id_ = id; } 133 void set_server_id(Id id) { server_id_ = id; }
134 134
135 Id server_id_ = kInvalidServerId; 135 Id server_id_ = kInvalidServerId;
136 const WindowMusType window_mus_type_; 136 const WindowMusType window_mus_type_;
137 }; 137 };
138 138
139 } // namespace aura 139 } // namespace aura
140 140
141 #endif // UI_AURA_MUS_WINDOW_MUS_H_ 141 #endif // UI_AURA_MUS_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_manager_delegate.h ('k') | ui/aura/mus/window_port_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698