Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: ui/android/delegated_frame_host_android.h

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cae844a647a669a7f6833afb7111411083b44def..6b5f97df118c8031f43279432906c52147197845 100644
--- a/ui/android/delegated_frame_host_android.h
+++ b/ui/android/delegated_frame_host_android.h
@@ -19,7 +19,6 @@ namespace cc {
class CompositorFrame;
class SurfaceManager;
class SurfaceLayer;
-class LocalSurfaceIdAllocator;
enum class SurfaceDrawStatus;
} // namespace cc
@@ -47,7 +46,8 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
~DelegatedFrameHostAndroid() override;
- void SubmitCompositorFrame(cc::CompositorFrame frame);
+ void SubmitCompositorFrame(cc::LocalSurfaceId local_surface_id,
Fady Samuel 2017/03/15 12:05:48 const cc::LocalSurfaceId&
Saman Sami 2017/03/16 18:33:08 Done.
+ cc::CompositorFrame frame);
void DestroyDelegatedContent();
@@ -90,7 +90,6 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
ViewAndroid* view_;
cc::SurfaceManager* surface_manager_;
- std::unique_ptr<cc::LocalSurfaceIdAllocator> local_surface_id_allocator_;
WindowAndroidCompositor* registered_parent_compositor_ = nullptr;
Client* client_;

Powered by Google App Engine
This is Rietveld 408576698