| Index: services/ui/public/cpp/window.h
|
| diff --git a/services/ui/public/cpp/window.h b/services/ui/public/cpp/window.h
|
| index af2aae43276df0a635ac536d80c230c204e35ead..28ea9e2ddc4c5d047dd49550aa438bd38ccf822c 100644
|
| --- a/services/ui/public/cpp/window.h
|
| +++ b/services/ui/public/cpp/window.h
|
| @@ -309,6 +309,10 @@ class Window {
|
| void LocalSetPredefinedCursor(mojom::Cursor cursor_id);
|
| void LocalSetSharedProperty(const std::string& name,
|
| const std::vector<uint8_t>* data);
|
| + void LocalSetSurfaceId(const cc::SurfaceId& surface_id,
|
| + const cc::SurfaceSequence& surface_sequence,
|
| + const gfx::Size& frame_size,
|
| + float device_scale_factor);
|
|
|
| // Notifies this winodw that its stacking position has changed.
|
| void NotifyWindowStackingChanged();
|
| @@ -393,6 +397,14 @@ class Window {
|
|
|
| std::map<const void*, Value> prop_map_;
|
|
|
| + struct SurfaceInfo {
|
| + cc::SurfaceId surface_id;
|
| + cc::SurfaceSequence surface_sequence;
|
| + gfx::Size frame_size;
|
| + float device_scale_factor;
|
| + };
|
| + SurfaceInfo surface_info_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(Window);
|
| };
|
|
|
|
|