| Index: chrome/browser/tab_contents/background_contents.cc
|
| diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
|
| index 33822a779bbedb9cb112013238c4f49be8da6e34..7107b2f2ec647e391d31addaed3ae2b7caa378ca 100644
|
| --- a/chrome/browser/tab_contents/background_contents.cc
|
| +++ b/chrome/browser/tab_contents/background_contents.cc
|
| @@ -22,7 +22,9 @@
|
| // BackgroundContents
|
|
|
| BackgroundContents::BackgroundContents(SiteInstance* site_instance,
|
| - int routing_id) {
|
| + int routing_id,
|
| + const string16& frame_name)
|
| + : frame_name_(frame_name) {
|
| Profile* profile = site_instance->browsing_instance()->profile();
|
|
|
| // TODO(rafaelw): Implement correct session storage.
|
| @@ -156,13 +158,15 @@ void BackgroundContents::ProcessDOMUIMessage(const std::string& message,
|
|
|
| void BackgroundContents::CreateNewWindow(
|
| int route_id,
|
| - WindowContainerType window_container_type) {
|
| + WindowContainerType window_container_type,
|
| + const string16& frame_name) {
|
| delegate_view_helper_.CreateNewWindow(route_id,
|
| render_view_host_->process()->profile(),
|
| render_view_host_->site_instance(),
|
| DOMUIFactory::GetDOMUIType(url_),
|
| this,
|
| - window_container_type);
|
| + window_container_type,
|
| + frame_name);
|
| }
|
|
|
| void BackgroundContents::CreateNewWidget(int route_id,
|
|
|