diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-12 02:47:26 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-12 02:47:26 +0000 |
commit | 8ab0465a0a52812b600580540a69ba4687e4ef22 (patch) | |
tree | 12c5483360d5174a2906e84234f4d3db72d8471d /chrome/test | |
parent | 69a83853994057c9bb81fbc8e184cf36650293db (diff) | |
download | chromium_src-8ab0465a0a52812b600580540a69ba4687e4ef22.zip chromium_src-8ab0465a0a52812b600580540a69ba4687e4ef22.tar.gz chromium_src-8ab0465a0a52812b600580540a69ba4687e4ef22.tar.bz2 |
Added plumbing to transport the frame name between RenderViewHost and the Webkit layer.
Extended ViewMsg_New and ViewHostMsg_CreateWindow to have a new frame_name
parameter. This allows the RVH to know the initial name of the frame associated
with its RenderView, and also to set the name of the frame when creating a new
RenderView.
Review URL: http://codereview.chromium.org/2775003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/render_view_test.cc | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/chrome/test/render_view_test.cc b/chrome/test/render_view_test.cc index 07a5e05..7503230 100644 --- a/chrome/test/render_view_test.cc +++ b/chrome/test/render_view_test.cc @@ -105,10 +105,15 @@ void RenderViewTest::SetUp() { render_thread_.set_routing_id(kRouteId); // This needs to pass the mock render thread to the view. - view_ = RenderView::Create(&render_thread_, 0, kOpenerId, - RendererPreferences(), WebPreferences(), - new SharedRenderViewCounter(0), kRouteId, - kInvalidSessionStorageNamespaceId); + view_ = RenderView::Create(&render_thread_, + 0, + kOpenerId, + RendererPreferences(), + WebPreferences(), + new SharedRenderViewCounter(0), + kRouteId, + kInvalidSessionStorageNamespaceId, + string16()); // Attach a pseudo keyboard device to this object. mock_keyboard_.reset(new MockKeyboard()); |