Set default user agent for WebContents
This commit is contained in:
parent
1615c97ce8
commit
053594eae8
2 changed files with 11 additions and 3 deletions
|
@ -27,6 +27,7 @@ class Dictionary;
|
|||
namespace atom {
|
||||
|
||||
struct SetSizeParams;
|
||||
class AtomBrowserContext;
|
||||
class WebViewGuestDelegate;
|
||||
|
||||
namespace api {
|
||||
|
@ -191,6 +192,8 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
REMOTE, // Thin wrap around an existing WebContents.
|
||||
};
|
||||
|
||||
AtomBrowserContext* GetBrowserContext() const;
|
||||
|
||||
// Called when received a message from renderer.
|
||||
void OnRendererMessage(const base::string16& channel,
|
||||
const base::ListValue& args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue