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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 void SetVisibleFromServer(bool visible) override; | 221 void SetVisibleFromServer(bool visible) override; |
222 void SetOpacityFromServer(float opacity) override; | 222 void SetOpacityFromServer(float opacity) override; |
223 void SetPredefinedCursorFromServer(ui::mojom::CursorType cursor) override; | 223 void SetPredefinedCursorFromServer(ui::mojom::CursorType cursor) override; |
224 void SetPropertyFromServer( | 224 void SetPropertyFromServer( |
225 const std::string& property_name, | 225 const std::string& property_name, |
226 const std::vector<uint8_t>* property_data) override; | 226 const std::vector<uint8_t>* property_data) override; |
227 void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override; | 227 void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override; |
228 const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId( | 228 const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId( |
229 const gfx::Size& surface_size) override; | 229 const gfx::Size& surface_size) override; |
230 void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override; | 230 void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override; |
| 231 void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) override; |
231 void DestroyFromServer() override; | 232 void DestroyFromServer() override; |
232 void AddTransientChildFromServer(WindowMus* child) override; | 233 void AddTransientChildFromServer(WindowMus* child) override; |
233 void RemoveTransientChildFromServer(WindowMus* child) override; | 234 void RemoveTransientChildFromServer(WindowMus* child) override; |
234 ChangeSource OnTransientChildAdded(WindowMus* child) override; | 235 ChangeSource OnTransientChildAdded(WindowMus* child) override; |
235 ChangeSource OnTransientChildRemoved(WindowMus* child) override; | 236 ChangeSource OnTransientChildRemoved(WindowMus* child) override; |
236 const cc::LocalSurfaceId& GetLocalSurfaceId() override; | 237 const cc::LocalSurfaceId& GetLocalSurfaceId() override; |
237 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( | 238 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( |
238 const gfx::Rect& bounds) override; | 239 const gfx::Rect& bounds) override; |
239 std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange( | 240 std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange( |
240 bool value) override; | 241 bool value) override; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 gfx::Size last_surface_size_; | 281 gfx::Size last_surface_size_; |
281 | 282 |
282 ui::mojom::CursorType predefined_cursor_ = ui::mojom::CursorType::CURSOR_NULL; | 283 ui::mojom::CursorType predefined_cursor_ = ui::mojom::CursorType::CURSOR_NULL; |
283 | 284 |
284 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); | 285 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
285 }; | 286 }; |
286 | 287 |
287 } // namespace aura | 288 } // namespace aura |
288 | 289 |
289 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 290 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
OLD | NEW |