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

Side by Side 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: Rebased Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 protocol::Response startScreencast(Maybe<String> format, 135 protocol::Response startScreencast(Maybe<String> format,
136 Maybe<int> quality, 136 Maybe<int> quality,
137 Maybe<int> max_width, 137 Maybe<int> max_width,
138 Maybe<int> max_height, 138 Maybe<int> max_height,
139 Maybe<int> every_nth_frame) override; 139 Maybe<int> every_nth_frame) override;
140 protocol::Response stopScreencast() override; 140 protocol::Response stopScreencast() override;
141 protocol::Response getLayoutMetrics( 141 protocol::Response getLayoutMetrics(
142 std::unique_ptr<protocol::Page::LayoutViewport>*, 142 std::unique_ptr<protocol::Page::LayoutViewport>*,
143 std::unique_ptr<protocol::Page::VisualViewport>*, 143 std::unique_ptr<protocol::Page::VisualViewport>*,
144 std::unique_ptr<protocol::DOM::Rect>*) override; 144 std::unique_ptr<protocol::DOM::Rect>*) override;
145 protocol::Response createIsolatedWorld(
146 const String& frame_id,
147 Maybe<String> world_name,
148 Maybe<bool> grant_universal_access) override;
145 149
146 // InspectorInstrumentation API 150 // InspectorInstrumentation API
147 void DidClearDocumentOfWindowObject(LocalFrame*); 151 void DidClearDocumentOfWindowObject(LocalFrame*);
148 void DomContentLoadedEventFired(LocalFrame*); 152 void DomContentLoadedEventFired(LocalFrame*);
149 void LoadEventFired(LocalFrame*); 153 void LoadEventFired(LocalFrame*);
150 void DidCommitLoad(LocalFrame*, DocumentLoader*); 154 void DidCommitLoad(LocalFrame*, DocumentLoader*);
151 void FrameAttachedToParent(LocalFrame*); 155 void FrameAttachedToParent(LocalFrame*);
152 void FrameDetachedFromParent(LocalFrame*); 156 void FrameDetachedFromParent(LocalFrame*);
153 void FrameStartedLoading(LocalFrame*, FrameLoadType); 157 void FrameStartedLoading(LocalFrame*, FrameLoadType);
154 void FrameStoppedLoading(LocalFrame*); 158 void FrameStoppedLoading(LocalFrame*);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 String script_to_evaluate_on_load_once_; 212 String script_to_evaluate_on_load_once_;
209 bool enabled_; 213 bool enabled_;
210 bool reloading_; 214 bool reloading_;
211 Member<InspectorResourceContentLoader> inspector_resource_content_loader_; 215 Member<InspectorResourceContentLoader> inspector_resource_content_loader_;
212 int resource_content_loader_client_id_; 216 int resource_content_loader_client_id_;
213 }; 217 };
214 218
215 } // namespace blink 219 } // namespace blink
216 220
217 #endif // !defined(InspectorPagerAgent_h) 221 #endif // !defined(InspectorPagerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698