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

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

Issue 1058403002: Revert of Refactor frame navigation/detach state cleanup to be more sane. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/xml/XSLTProcessor.cpp ('k') | Source/web/tests/FrameTestHelpers.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/FrameTestHelpers.h
diff --git a/Source/web/tests/FrameTestHelpers.h b/Source/web/tests/FrameTestHelpers.h
index 8d876d7d3d25881f60bdf9dd8fb69500462cb7fc..d16f987d13b5ef252e1c25603b0e81c2adedb0e5 100644
--- a/Source/web/tests/FrameTestHelpers.h
+++ b/Source/web/tests/FrameTestHelpers.h
@@ -114,20 +114,12 @@
// frames and need further specialization of WebFrameClient behavior should subclass this.
class TestWebRemoteFrameClient : public WebRemoteFrameClient {
public:
- TestWebRemoteFrameClient();
-
- WebRemoteFrame* frame() const { return m_frame; }
-
- // WebRemoteFrameClient overrides:
- void frameDetached() override;
- void postMessageEvent(
+ // Notifies the embedder that a postMessage was issued to a remote frame.
+ virtual void postMessageEvent(
WebLocalFrame* sourceFrame,
WebRemoteFrame* targetFrame,
WebSecurityOrigin targetOrigin,
- WebDOMMessageEvent) override { }
-
-private:
- WebRemoteFrame* const m_frame;
+ WebDOMMessageEvent) { }
};
class TestWebViewClient : public WebViewClient {
« no previous file with comments | « Source/core/xml/XSLTProcessor.cpp ('k') | Source/web/tests/FrameTestHelpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698