OLD | NEW |
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_PORT_MUS_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override; | 215 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override; |
216 void SetTransformFromServer(const gfx::Transform& transform) override; | 216 void SetTransformFromServer(const gfx::Transform& transform) override; |
217 void SetVisibleFromServer(bool visible) override; | 217 void SetVisibleFromServer(bool visible) override; |
218 void SetOpacityFromServer(float opacity) override; | 218 void SetOpacityFromServer(float opacity) override; |
219 void SetCursorFromServer(const ui::CursorData& cursor) override; | 219 void SetCursorFromServer(const ui::CursorData& cursor) override; |
220 void SetPropertyFromServer( | 220 void SetPropertyFromServer( |
221 const std::string& property_name, | 221 const std::string& property_name, |
222 const std::vector<uint8_t>* property_data) override; | 222 const std::vector<uint8_t>* property_data) override; |
223 void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override; | 223 void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override; |
224 const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId( | 224 const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId( |
225 const gfx::Size& surface_size) override; | 225 const gfx::Size& surface_size_in_pixels) override; |
226 void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override; | 226 void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override; |
227 void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) override; | 227 void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) override; |
228 void DestroyFromServer() override; | 228 void DestroyFromServer() override; |
229 void AddTransientChildFromServer(WindowMus* child) override; | 229 void AddTransientChildFromServer(WindowMus* child) override; |
230 void RemoveTransientChildFromServer(WindowMus* child) override; | 230 void RemoveTransientChildFromServer(WindowMus* child) override; |
231 ChangeSource OnTransientChildAdded(WindowMus* child) override; | 231 ChangeSource OnTransientChildAdded(WindowMus* child) override; |
232 ChangeSource OnTransientChildRemoved(WindowMus* child) override; | 232 ChangeSource OnTransientChildRemoved(WindowMus* child) override; |
233 const cc::LocalSurfaceId& GetLocalSurfaceId() override; | 233 const cc::LocalSurfaceId& GetLocalSurfaceId() override; |
234 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( | 234 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( |
235 const gfx::Rect& bounds) override; | 235 const gfx::Rect& bounds) override; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 ServerChangeIdType next_server_change_id_ = 0; | 274 ServerChangeIdType next_server_change_id_ = 0; |
275 ServerChanges server_changes_; | 275 ServerChanges server_changes_; |
276 | 276 |
277 cc::FrameSinkId frame_sink_id_; | 277 cc::FrameSinkId frame_sink_id_; |
278 | 278 |
279 cc::SurfaceInfo primary_surface_info_; | 279 cc::SurfaceInfo primary_surface_info_; |
280 cc::SurfaceInfo fallback_surface_info_; | 280 cc::SurfaceInfo fallback_surface_info_; |
281 | 281 |
282 cc::LocalSurfaceId local_surface_id_; | 282 cc::LocalSurfaceId local_surface_id_; |
283 cc::LocalSurfaceIdAllocator local_surface_id_allocator_; | 283 cc::LocalSurfaceIdAllocator local_surface_id_allocator_; |
284 gfx::Size last_surface_size_; | 284 gfx::Size last_surface_size_in_pixels_; |
285 | 285 |
286 ui::CursorData cursor_; | 286 ui::CursorData cursor_; |
287 | 287 |
288 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); | 288 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
289 }; | 289 }; |
290 | 290 |
291 } // namespace aura | 291 } // namespace aura |
292 | 292 |
293 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 293 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
OLD | NEW |