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..4ad829d69f4754ec931fa30d71d07b06963cc70d 100644 |
| --- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h |
| +++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h |
| @@ -168,6 +168,17 @@ private: |
| RawPtrWillBePersistent<WebRemoteFrameImpl> const m_frame; |
| }; |
| +class TestWebRemoteFrameClientForVisibility : public TestWebRemoteFrameClient { |
|
dcheng
2016/01/11 19:07:59
Put this directly in WebFrameTest.cpp: no need to
EhsanK
2016/06/09 17:42:53
Done.
|
| +public: |
| + TestWebRemoteFrameClientForVisibility(); |
| + void visibilityChanged(bool visible) override { m_visible = visible; } |
| + |
| + bool isVisible() const { return m_visible; } |
| + |
| +private: |
| + bool m_visible; |
| +}; |
| + |
| class TestWebViewClient : public WebViewClient { |
| public: |
| virtual ~TestWebViewClient() { } |