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

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

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 8 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // back. For example, SetBoundsFromServer() should not result in calling back 72 // back. For example, SetBoundsFromServer() should not result in calling back
73 // to WindowTreeClient::OnWindowMusBoundsChanged(). 73 // to WindowTreeClient::OnWindowMusBoundsChanged().
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(const gfx::Rect& bounds) = 0; 79 virtual void SetBoundsFromServer(const gfx::Rect& bounds) = 0;
80 virtual void SetVisibleFromServer(bool visible) = 0; 80 virtual void SetVisibleFromServer(bool visible) = 0;
81 virtual void SetOpacityFromServer(float opacity) = 0; 81 virtual void SetOpacityFromServer(float opacity) = 0;
82 virtual void SetPredefinedCursorFromServer(ui::mojom::Cursor cursor) = 0; 82 virtual void SetPredefinedCursorFromServer(ui::mojom::CursorType cursor) = 0;
83 virtual void SetPropertyFromServer(const std::string& property_name, 83 virtual void SetPropertyFromServer(const std::string& property_name,
84 const std::vector<uint8_t>* data) = 0; 84 const std::vector<uint8_t>* data) = 0;
85 virtual void SetFrameSinkIdFromServer( 85 virtual void SetFrameSinkIdFromServer(
86 const cc::FrameSinkId& frame_sink_id) = 0; 86 const cc::FrameSinkId& frame_sink_id) = 0;
87 virtual void SetSurfaceInfoFromServer( 87 virtual void SetSurfaceInfoFromServer(
88 const cc::SurfaceInfo& surface_info) = 0; 88 const cc::SurfaceInfo& surface_info) = 0;
89 // The window was deleted on the server side. DestroyFromServer() should 89 // The window was deleted on the server side. DestroyFromServer() should
90 // result in deleting |this|. 90 // result in deleting |this|.
91 virtual void DestroyFromServer() = 0; 91 virtual void DestroyFromServer() = 0;
92 virtual void AddTransientChildFromServer(WindowMus* child) = 0; 92 virtual void AddTransientChildFromServer(WindowMus* child) = 0;
(...skipping 30 matching lines...) Expand all
123 123
124 void set_server_id(Id id) { server_id_ = id; } 124 void set_server_id(Id id) { server_id_ = id; }
125 125
126 Id server_id_ = kInvalidServerId; 126 Id server_id_ = kInvalidServerId;
127 const WindowMusType window_mus_type_; 127 const WindowMusType window_mus_type_;
128 }; 128 };
129 129
130 } // namespace aura 130 } // namespace aura
131 131
132 #endif // UI_AURA_MUS_WINDOW_MUS_H_ 132 #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