feat: add webContents.getMediaSourceId() method (#31204)
* feat: add webContents.getMediaSourceId() method * fix: account for null frame_hosts in webContents.getMediaSourceId() * fix: move webContents.getMediaSourceId definition to be more organised * fix: move webContents.getMediaSourceId implementation * fix: move webContents.getMediaSourceId docs
This commit is contained in:
parent
63eed52626
commit
23cdf65c53
4 changed files with 47 additions and 0 deletions
|
@ -185,6 +185,7 @@ class WebContents : public gin::Wrappable<WebContents>,
|
|||
int GetHistoryLength() const;
|
||||
const std::string GetWebRTCIPHandlingPolicy() const;
|
||||
void SetWebRTCIPHandlingPolicy(const std::string& webrtc_ip_handling_policy);
|
||||
std::string GetMediaSourceID(content::WebContents* request_web_contents);
|
||||
bool IsCrashed() const;
|
||||
void ForcefullyCrashRenderer();
|
||||
void SetUserAgent(const std::string& user_agent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue