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

Unified Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.h

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased & Added Blink Unit Tests Created 5 years 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: 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 {

Powered by Google App Engine
This is Rietveld 408576698