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

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: 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..b0ac725c632eb4a54571642d4d2718838808e65d 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 {
@@ -30,7 +31,10 @@ public:
// process. See http://crbug.com/339659.
void forwardInputEvent(Event*);
+ virtual RemoteSecurityContext* securityContext() const override;
dcheng 2014/11/12 21:55:50 Nit: move this to the Frame overrides: section.
alexmos 2014/11/18 18:35:17 Done.
+
void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>);
+
void createView();
RemoteFrameView* view() const;
@@ -42,6 +46,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