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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest_helper.cc

Issue 11554030: <webview>: Add name attribute (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added tests Created 8 years 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/browser/browser_plugin/browser_plugin_guest_helper.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest_helper.cc b/content/browser/browser_plugin/browser_plugin_guest_helper.cc
index 2c45aceda3433f9950345dc2b7c19385a443c847..a1a4a581a276afffe4d18e4783678f58916211e7 100644
--- a/content/browser/browser_plugin/browser_plugin_guest_helper.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest_helper.cc
@@ -40,6 +40,7 @@ bool BrowserPluginGuestHelper::OnMessageReceived(
// renderer process paints inside.
IPC_MESSAGE_HANDLER(ViewHostMsg_ShowPopup, OnShowPopup)
#endif
+ IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFrameName, OnUpdateFrameName)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
@@ -86,4 +87,10 @@ void BrowserPluginGuestHelper::OnShowPopup(
}
#endif
+void BrowserPluginGuestHelper::OnUpdateFrameName(int frame_id,
+ bool is_top_level,
+ const std::string& name) {
+ guest_->UpdateFrameName(frame_id, is_top_level, name);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698