Fix WillAttach API changes in content::BrowserPluginGuestDelegate.
This commit is contained in:
parent
fc4031ec26
commit
46c7ba734b
2 changed files with 4 additions and 2 deletions
|
@ -158,7 +158,8 @@ void WebViewGuestDelegate::SetGuestHost(content::GuestHost* guest_host) {
|
||||||
void WebViewGuestDelegate::WillAttach(
|
void WebViewGuestDelegate::WillAttach(
|
||||||
content::WebContents* embedder_web_contents,
|
content::WebContents* embedder_web_contents,
|
||||||
int element_instance_id,
|
int element_instance_id,
|
||||||
bool is_full_page_plugin) {
|
bool is_full_page_plugin,
|
||||||
|
const base::Closure& completion_callback) {
|
||||||
embedder_web_contents_ = embedder_web_contents;
|
embedder_web_contents_ = embedder_web_contents;
|
||||||
is_full_page_plugin_ = is_full_page_plugin;
|
is_full_page_plugin_ = is_full_page_plugin;
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,8 @@ class WebViewGuestDelegate : public content::BrowserPluginGuestDelegate,
|
||||||
void SetGuestHost(content::GuestHost* guest_host) final;
|
void SetGuestHost(content::GuestHost* guest_host) final;
|
||||||
void WillAttach(content::WebContents* embedder_web_contents,
|
void WillAttach(content::WebContents* embedder_web_contents,
|
||||||
int element_instance_id,
|
int element_instance_id,
|
||||||
bool is_full_page_plugin) final;
|
bool is_full_page_plugin,
|
||||||
|
const base::Closure& completion_callback) final;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// This method is invoked when the contents auto-resized to give the container
|
// This method is invoked when the contents auto-resized to give the container
|
||||||
|
|
Loading…
Reference in a new issue