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

Unified Diff: android_webview/browser/hardware_renderer.h

Issue 2036023002: Rewire Android WebView's compositor changed signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use web_contents_ Created 4 years, 6 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
« no previous file with comments | « android_webview/browser/compositor_id.cc ('k') | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/hardware_renderer.h
diff --git a/android_webview/browser/hardware_renderer.h b/android_webview/browser/hardware_renderer.h
index ae54a40f370ae7639e2153c000910e6661d5f374..f6d0d43453e4b866c8bd0498f3a152b3ada79916 100644
--- a/android_webview/browser/hardware_renderer.h
+++ b/android_webview/browser/hardware_renderer.h
@@ -7,6 +7,7 @@
#include <memory>
+#include "android_webview/browser/compositor_id.h"
#include "android_webview/browser/render_thread_manager.h"
#include "base/macros.h"
#include "cc/surfaces/display_client.h"
@@ -51,7 +52,7 @@ class HardwareRenderer : public cc::DisplayClient,
void ReturnResourcesInChildFrame();
void ReturnResourcesToCompositor(const cc::ReturnedResourceArray& resources,
- uint32_t compositor_routing_id,
+ const CompositorID& compositor_id,
uint32_t output_surface_id);
RenderThreadManager* render_thread_manager_;
@@ -78,7 +79,7 @@ class HardwareRenderer : public cc::DisplayClient,
std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
cc::SurfaceId child_id_;
cc::SurfaceId root_id_;
- uint32_t compositor_id_;
+ CompositorID compositor_id_;
// HardwareRenderer guarantees resources are returned in the order of
// output_surface_id, and resources for old output surfaces are dropped.
uint32_t last_committed_output_surface_id_;
« no previous file with comments | « android_webview/browser/compositor_id.cc ('k') | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698