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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 2116663002: Test for BrowserPlugin-based WebView Focus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 5 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/frame_host/render_widget_host_view_child_frame.h
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h
index 67f11be261aa0c7ad143e576233cf0bc74f63178..c46ee65d8a58a93723c2ffb20924fc406e8efaa0 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h
@@ -189,6 +189,8 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
void RegisterSurfaceNamespaceId();
void UnregisterSurfaceNamespaceId();
+ uint32_t surface_frame_count() const { return surface_frame_count_; }
+
protected:
friend class RenderWidgetHostView;
friend class RenderWidgetHostViewChildFrameTest;
@@ -216,6 +218,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
float current_surface_scale_factor_;
gfx::Rect last_screen_rect_;
uint32_t ack_pending_count_;
+ uint32_t surface_frame_count_;
Charlie Reis 2016/07/06 18:28:49 Seems mildly unfortunate to have to track this in
wjmaclean 2016/07/06 19:49:31 Agreed. kenrb@ and I haven't thought of another wa
Charlie Reis 2016/07/06 20:17:13 Can we make it a bool instead of a counter? The o
cc::ReturnedResourceArray surface_returned_resources_;
// frame_connector_ provides a platform abstraction. Messages

Powered by Google App Engine
This is Rietveld 408576698