| Index: content/browser/frame_host/cross_process_frame_connector.h
|
| diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h
|
| index 3a7d9776025aedd2f4b0827795340fcb993a3c7e..27b7066bfce9de32da67d5b98af095bfc417723e 100644
|
| --- a/content/browser/frame_host/cross_process_frame_connector.h
|
| +++ b/content/browser/frame_host/cross_process_frame_connector.h
|
| @@ -137,6 +137,8 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
|
| return viewport_intersection_rect_;
|
| }
|
|
|
| + bool is_inert() const { return is_inert_; }
|
| +
|
| // Exposed for tests.
|
| RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() {
|
| return GetRootRenderWidgetHostView();
|
| @@ -149,6 +151,7 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
|
| void OnFrameRectChanged(const gfx::Rect& frame_rect);
|
| void OnUpdateViewportIntersection(const gfx::Rect& viewport_intersection);
|
| void OnVisibilityChanged(bool visible);
|
| + void OnSetIsInert(bool);
|
| void OnSatisfySequence(const cc::SurfaceSequence& sequence);
|
| void OnRequireSequence(const cc::SurfaceId& id,
|
| const cc::SurfaceSequence& sequence);
|
| @@ -164,6 +167,7 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
|
|
|
| gfx::Rect child_frame_rect_;
|
| gfx::Rect viewport_intersection_rect_;
|
| + bool is_inert_ = false;
|
|
|
| bool is_scroll_bubbling_;
|
| };
|
|
|