| Index: content/public/browser/web_contents_delegate.h
|
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
|
| index 66439dfccb72266609ee0ecbcf25162694b10973..ed4fe73202d38d988236f4307d873eeb8be629af 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -15,6 +15,7 @@
|
| #include "content/public/browser/invalidate_type.h"
|
| #include "content/public/browser/navigation_type.h"
|
| #include "content/public/common/media_stream_request.h"
|
| +#include "content/public/common/security_style.h"
|
| #include "content/public/common/window_container_type.h"
|
| #include "third_party/WebKit/public/platform/WebDisplayMode.h"
|
| #include "third_party/WebKit/public/web/WebDragOperation.h"
|
| @@ -485,6 +486,10 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| // default behavior is suppressed.
|
| virtual bool SaveFrame(const GURL& url, const Referrer& referrer);
|
|
|
| + // Can be overridden by a delegate to return the security style of the given
|
| + // web contents. Returns SECURITY_STYLE_UNKNOWN if not overriden.
|
| + virtual SecurityStyle GetSecurityStyle(const WebContents* web_contents);
|
| +
|
| protected:
|
| virtual ~WebContentsDelegate();
|
|
|
|
|