Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Unified Diff: Source/core/frame/RemoteFrame.h

Issue 520213002: Make SecurityContext available in RemoteFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More feedback from Daniel Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/RemoteFrame.h
diff --git a/Source/core/frame/RemoteFrame.h b/Source/core/frame/RemoteFrame.h
index 1f8ec6dd88bdcb89ae63dd9da940341a6f95e748..fc1bf23d2e8661323fac9be8f073af2c138e07bb 100644
--- a/Source/core/frame/RemoteFrame.h
+++ b/Source/core/frame/RemoteFrame.h
@@ -5,6 +5,7 @@
#ifndef RemoteFrame_h
#define RemoteFrame_h
+#include "core/dom/RemoteSecurityContext.h"
#include "core/frame/Frame.h"
namespace blink {
@@ -25,12 +26,14 @@ public:
virtual DOMWindow* domWindow() const override { return 0; }
virtual void navigate(Document& originDocument, const KURL&, bool lockBackForwardList) override;
virtual void detach() override;
+ virtual RemoteSecurityContext* securityContext() const override;
// FIXME: Remove this method once we have input routing in the browser
// process. See http://crbug.com/339659.
void forwardInputEvent(Event*);
void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>);
+
nasko 2014/11/19 01:16:09 nit: no need for new empty line
alexmos 2014/11/19 18:19:19 Done. Sneaked through as I was moving securityCon
void createView();
RemoteFrameView* view() const;
@@ -42,6 +45,7 @@ private:
RemoteFrameClient* remoteFrameClient() const;
RefPtrWillBeMember<RemoteFrameView> m_view;
+ RefPtr<RemoteSecurityContext> m_securityContext;
};
inline RemoteFrameView* RemoteFrame::view() const

Powered by Google App Engine
This is Rietveld 408576698