| Index: ui/android/delegated_frame_host_android.h
|
| diff --git a/ui/android/delegated_frame_host_android.h b/ui/android/delegated_frame_host_android.h
|
| index 2536ad753c3ce7ff16715fff2ea0da3e37fea45d..4bc0a312d2533c66e1ab3605380bf4f2abc07825 100644
|
| --- a/ui/android/delegated_frame_host_android.h
|
| +++ b/ui/android/delegated_frame_host_android.h
|
| @@ -64,6 +64,11 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
|
|
|
| void UpdateContainerSizeinDIP(const gfx::Size& size_in_dip);
|
|
|
| + // Called when this DFH is attached/detached from a parent browser compositor
|
| + // and needs to be attached to the surface hierarchy.
|
| + void RegisterSurfaceNamespaceHierarchy(uint32_t parent_id);
|
| + void UnregisterSurfaceNamespaceHierarchy();
|
| +
|
| private:
|
| // cc::SurfaceFactoryClient implementation.
|
| void ReturnResources(const cc::ReturnedResourceArray& resources) override;
|
| @@ -75,6 +80,7 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
|
|
|
| cc::SurfaceManager* surface_manager_;
|
| std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
|
| + uint32_t registered_parent_client_id_ = 0u;
|
| ReturnResourcesCallback return_resources_callback_;
|
|
|
| std::unique_ptr<cc::SurfaceFactory> surface_factory_;
|
|
|