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

Unified Diff: chrome/browser/tab_contents/background_contents.cc

Issue 2775003: Added plumbing to transport the frame name between RenderViewHost and the Webkit layer. (Closed)
Patch Set: Added plumbing from chrome -> webkit api. Created 10 years, 6 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: 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,

Powered by Google App Engine
This is Rietveld 408576698