Set default user agent for WebContents

This commit is contained in:
Cheng Zhao 2015-07-14 12:13:25 -07:00
parent 1615c97ce8
commit 053594eae8
2 changed files with 11 additions and 3 deletions

View file

@ -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);