Use RenderProcessPreferences for non-remote web contents
This commit is contained in:
parent
9223019af8
commit
f25c1f864b
5 changed files with 16 additions and 12 deletions
|
@ -1197,6 +1197,10 @@ bool WebContents::IsGuest() const {
|
|||
return type_ == WEB_VIEW;
|
||||
}
|
||||
|
||||
bool WebContents::IsRemote() const {
|
||||
return type_ == REMOTE;
|
||||
}
|
||||
|
||||
v8::Local<v8::Value> WebContents::GetWebPreferences(v8::Isolate* isolate) {
|
||||
WebContentsPreferences* web_preferences =
|
||||
WebContentsPreferences::FromWebContents(web_contents());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue