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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.h

Issue 2848653003: Add a DevTools command to create an isolated world for a given frame (Closed)
Patch Set: Created 3 years, 8 months 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: third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
index 48ec089b26d96c24ceb47bcb75bf67b392c7880c..a2dfc0c2b8429d5a98e5cfbbb95233e6574b5cb5 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
@@ -142,6 +142,11 @@ class CORE_EXPORT InspectorPageAgent final
std::unique_ptr<protocol::Page::LayoutViewport>*,
std::unique_ptr<protocol::Page::VisualViewport>*,
std::unique_ptr<protocol::DOM::Rect>*) override;
+ protocol::Response ensureIsolatedWorld(
+ const String& frame_id,
+ int world_id,
+ Maybe<String> security_origin,
+ Maybe<String> content_security_policy) override;
// InspectorInstrumentation API
void DidClearDocumentOfWindowObject(LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698