Chromium Code Reviews| Index: third_party/WebKit/Source/web/tests/FrameTestHelpers.h |
| diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h |
| index 3f91ae389c8c5a81503a74c3c91ca4bf6e824a71..45b09126c01539f6b48e4f091e22c90b770459fb 100644 |
| --- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h |
| +++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h |
| @@ -163,9 +163,13 @@ public: |
| WebRemoteFrame* targetFrame, |
| WebSecurityOrigin targetOrigin, |
| WebDOMMessageEvent) override { } |
| + void visibilityChanged(bool visible) override { m_visible = visible; } |
|
dcheng
2016/01/06 18:43:58
Move these to a subclass of TestWebRemoteFrameClie
EhsanK
2016/01/08 22:05:37
Done.
|
| + |
| + bool isVisible() { return m_visible; } |
|
dcheng
2016/01/06 18:43:58
Nit: const
EhsanK
2016/01/08 22:05:37
Done.
|
| private: |
| RawPtrWillBePersistent<WebRemoteFrameImpl> const m_frame; |
| + bool m_visible; |
| }; |
| class TestWebViewClient : public WebViewClient { |