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

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

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Build error fixes 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..7c39e4d5d249d9c9ff7fda6eab60c412310d40c7 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,10 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
void CreateOverscrollControllerIfPossible();
+ bool CheckForFullscreenTransitionJank(
+ const cc::CompositorFrameMetadata& metadata);
+ std::unique_ptr<cc::RenderPass> CreateBlackRenderPass();
+
// The model object.
RenderWidgetHostImpl* host_;
@@ -424,6 +428,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