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

Unified Diff: content/test/test_render_frame.h

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: Move over to render frame (but not WebFrameClient yet) + a bunch of cleanups Created 3 years, 8 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
Index: content/test/test_render_frame.h
diff --git a/content/test/test_render_frame.h b/content/test/test_render_frame.h
index c200b1ad49c6981c0567a58d0b105ec130fc536f..51d7dffa5d031ff4606778407568550d19131f60 100644
--- a/content/test/test_render_frame.h
+++ b/content/test/test_render_frame.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_TEST_TEST_RENDER_FRAME_H_
#define CONTENT_TEST_TEST_RENDER_FRAME_H_
+#include <memory>
+
#include "base/macros.h"
#include "content/renderer/render_frame_impl.h"
@@ -15,6 +17,7 @@ class WebHistoryItem;
namespace content {
struct CommonNavigationParams;
+class MockFrameHostIPC;
struct RequestNavigationParams;
struct StartNavigationParams;
@@ -49,8 +52,13 @@ class TestRenderFrame : public RenderFrameImpl {
blink::WebNavigationPolicy DecidePolicyForNavigation(
const blink::WebFrameClient::NavigationPolicyInfo& info) override;
+ mojom::FrameHostIPC* GetFrameHostIPC() override;
+
private:
explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params);
+
+ std::unique_ptr<MockFrameHostIPC> mock_frame_host_ipc_;
+
DISALLOW_COPY_AND_ASSIGN(TestRenderFrame);
};

Powered by Google App Engine
This is Rietveld 408576698