| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 const gfx::Rect& bounds, | 223 const gfx::Rect& bounds, |
| 224 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override; | 224 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override; |
| 225 void SetVisibleFromServer(bool visible) override; | 225 void SetVisibleFromServer(bool visible) override; |
| 226 void SetOpacityFromServer(float opacity) override; | 226 void SetOpacityFromServer(float opacity) override; |
| 227 void SetCursorFromServer(const ui::CursorData& cursor) override; | 227 void SetCursorFromServer(const ui::CursorData& cursor) override; |
| 228 void SetPropertyFromServer( | 228 void SetPropertyFromServer( |
| 229 const std::string& property_name, | 229 const std::string& property_name, |
| 230 const std::vector<uint8_t>* property_data) override; | 230 const std::vector<uint8_t>* property_data) override; |
| 231 void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override; | 231 void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override; |
| 232 const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId( | 232 const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId( |
| 233 const gfx::Size& surface_size) override; | 233 const gfx::Size& surface_size_in_pixels) override; |
| 234 void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override; | 234 void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override; |
| 235 void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) override; | 235 void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) override; |
| 236 void DestroyFromServer() override; | 236 void DestroyFromServer() override; |
| 237 void AddTransientChildFromServer(WindowMus* child) override; | 237 void AddTransientChildFromServer(WindowMus* child) override; |
| 238 void RemoveTransientChildFromServer(WindowMus* child) override; | 238 void RemoveTransientChildFromServer(WindowMus* child) override; |
| 239 ChangeSource OnTransientChildAdded(WindowMus* child) override; | 239 ChangeSource OnTransientChildAdded(WindowMus* child) override; |
| 240 ChangeSource OnTransientChildRemoved(WindowMus* child) override; | 240 ChangeSource OnTransientChildRemoved(WindowMus* child) override; |
| 241 const cc::LocalSurfaceId& GetLocalSurfaceId() override; | 241 const cc::LocalSurfaceId& GetLocalSurfaceId() override; |
| 242 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( | 242 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( |
| 243 const gfx::Rect& bounds) override; | 243 const gfx::Rect& bounds) override; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 ServerChanges server_changes_; | 277 ServerChanges server_changes_; |
| 278 | 278 |
| 279 cc::FrameSinkId frame_sink_id_; | 279 cc::FrameSinkId frame_sink_id_; |
| 280 base::Closure pending_compositor_frame_sink_request_; | 280 base::Closure pending_compositor_frame_sink_request_; |
| 281 | 281 |
| 282 cc::SurfaceInfo primary_surface_info_; | 282 cc::SurfaceInfo primary_surface_info_; |
| 283 cc::SurfaceInfo fallback_surface_info_; | 283 cc::SurfaceInfo fallback_surface_info_; |
| 284 | 284 |
| 285 cc::LocalSurfaceId local_surface_id_; | 285 cc::LocalSurfaceId local_surface_id_; |
| 286 cc::LocalSurfaceIdAllocator local_surface_id_allocator_; | 286 cc::LocalSurfaceIdAllocator local_surface_id_allocator_; |
| 287 gfx::Size last_surface_size_; | 287 gfx::Size last_surface_size_in_pixels_; |
| 288 | 288 |
| 289 ui::CursorData cursor_; | 289 ui::CursorData cursor_; |
| 290 | 290 |
| 291 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); | 291 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 } // namespace aura | 294 } // namespace aura |
| 295 | 295 |
| 296 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 296 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| OLD | NEW |