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

Side by Side Diff: android_webview/browser/surfaces_instance.h

Issue 2388753003: Introduce cc::LocalFrameId and use in SurfaceFactory (Closed)
Patch Set: Fix exo_unittests Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 uint32_t next_client_id_; 73 uint32_t next_client_id_;
74 74
75 cc::FrameSinkId frame_sink_id_; 75 cc::FrameSinkId frame_sink_id_;
76 76
77 std::unique_ptr<cc::SurfaceManager> surface_manager_; 77 std::unique_ptr<cc::SurfaceManager> surface_manager_;
78 std::unique_ptr<cc::Display> display_; 78 std::unique_ptr<cc::Display> display_;
79 std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_; 79 std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
80 std::unique_ptr<cc::SurfaceFactory> surface_factory_; 80 std::unique_ptr<cc::SurfaceFactory> surface_factory_;
81 81
82 cc::SurfaceId root_id_; 82 cc::LocalFrameId root_id_;
83 std::vector<cc::SurfaceId> child_ids_; 83 std::vector<cc::SurfaceId> child_ids_;
84 84
85 // This is owned by |display_|. 85 // This is owned by |display_|.
86 ParentOutputSurface* output_surface_; 86 ParentOutputSurface* output_surface_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance); 88 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance);
89 }; 89 };
90 90
91 } // namespace android_webview 91 } // namespace android_webview
92 92
93 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 93 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698