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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: make overlay_video_mode not affect background transparency Created 3 years, 7 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: content/browser/renderer_host/render_widget_host_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index c5cf9d70df876c9abfbee6658f456b7abaafd833..538e9de41fcfbd6a26dbb62e38342840d9830be0 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -345,6 +345,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
void CreateOverscrollControllerIfPossible();
+ bool CheckForFullscreenTransitionJank(
+ const cc::CompositorFrameMetadata& metadata);
+
// The model object.
RenderWidgetHostImpl* host_;
@@ -424,6 +427,10 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
float prev_top_shown_pix_;
float prev_bottom_shown_pix_;
+ bool was_fullscreen_ = false;
+ bool fullscreen_transitioning_ = false;
+ gfx::Size prev_physical_backing_size_;
+
cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink_ =
nullptr;

Powered by Google App Engine
This is Rietveld 408576698