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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 21930006: <webview>: Allocate the view instance ID from the WebView shim (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 7 years, 4 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 0e2ea78c0d762070d8aaef538da5c530cecd6acc..ec79ace5d8d1af43573bdefdad3e2a2243cf6497 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -831,7 +831,7 @@ void ChromeContentBrowserClient::GuestWebContentsCreated(
return;
}
std::string api_type;
- extra_params->GetString(guestview::kAttributeApi, &api_type);
+ extra_params->GetString(guestview::kParameterApi, &api_type);
if (api_type == "adview") {
*guest_delegate = new AdViewGuest(guest_web_contents);
@@ -845,7 +845,6 @@ void ChromeContentBrowserClient::GuestWebContentsCreated(
void ChromeContentBrowserClient::GuestWebContentsAttached(
WebContents* guest_web_contents,
WebContents* embedder_web_contents,
- int browser_plugin_instance_id,
const base::DictionaryValue& extra_params) {
Profile* profile = Profile::FromBrowserContext(
embedder_web_contents->GetBrowserContext());
@@ -873,7 +872,6 @@ void ChromeContentBrowserClient::GuestWebContentsAttached(
}
guest->Attach(embedder_web_contents,
extension->id(),
- browser_plugin_instance_id,
extra_params);
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/extensions/extension_renderer_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698