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

Unified Diff: ui/android/delegated_frame_host_android.cc

Issue 2509103002: Enable browser process hit testing on Android (Closed)
Patch Set: Cleanup Created 3 years, 10 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.cc
diff --git a/ui/android/delegated_frame_host_android.cc b/ui/android/delegated_frame_host_android.cc
index b2b73ce91b7691f2e357b6eb03f2ebfa77122922..d1fdb335350ad9c21ec244d37a47fc2845f84406 100644
--- a/ui/android/delegated_frame_host_android.cc
+++ b/ui/android/delegated_frame_host_android.cc
@@ -205,4 +205,8 @@ void DelegatedFrameHostAndroid::SetBeginFrameSource(
client_->SetBeginFrameSource(begin_frame_source);
}
+cc::SurfaceId DelegatedFrameHostAndroid::SurfaceId() const {
+ return cc::SurfaceId(frame_sink_id_, current_frame_->local_surface_id);
+}
+
} // namespace ui
« content/browser/site_per_process_browsertest.cc ('K') | « ui/android/delegated_frame_host_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698