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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: Fix GCCallbackTest Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebCompositionUnderline.h" 8 #include "WebCompositionUnderline.h"
9 #include "WebFrame.h" 9 #include "WebFrame.h"
10 #include "WebFrameLoadType.h" 10 #include "WebFrameLoadType.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 int argc, 212 int argc,
213 v8::Local<v8::Value> argv[], 213 v8::Local<v8::Value> argv[],
214 WebScriptExecutionCallback*) = 0; 214 WebScriptExecutionCallback*) = 0;
215 215
216 // worldID must be > 0 (as 0 represents the main world). 216 // worldID must be > 0 (as 0 represents the main world).
217 // worldID must be < EmbedderWorldIdLimit, high number used internally. 217 // worldID must be < EmbedderWorldIdLimit, high number used internally.
218 virtual void requestExecuteScriptInIsolatedWorld( 218 virtual void requestExecuteScriptInIsolatedWorld(
219 int worldID, 219 int worldID,
220 const WebScriptSource* sourceIn, 220 const WebScriptSource* sourceIn,
221 unsigned numSources, 221 unsigned numSources,
222 int extensionGroup,
223 bool userGesture, 222 bool userGesture,
224 WebScriptExecutionCallback*) = 0; 223 WebScriptExecutionCallback*) = 0;
225 224
226 // Associates an isolated world with human-readable name which is useful for 225 // Associates an isolated world with human-readable name which is useful for
227 // extension debugging. 226 // extension debugging.
228 virtual void setIsolatedWorldHumanReadableName(int worldID, 227 virtual void setIsolatedWorldHumanReadableName(int worldID,
229 const WebString&) = 0; 228 const WebString&) = 0;
230 229
231 // Logs to the console associated with this frame. 230 // Logs to the console associated with this frame.
232 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; 231 virtual void addMessageToConsole(const WebConsoleMessage&) = 0;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 // to call these on a WebLocalFrame. 469 // to call these on a WebLocalFrame.
471 bool isWebLocalFrame() const override = 0; 470 bool isWebLocalFrame() const override = 0;
472 WebLocalFrame* toWebLocalFrame() override = 0; 471 WebLocalFrame* toWebLocalFrame() override = 0;
473 bool isWebRemoteFrame() const override = 0; 472 bool isWebRemoteFrame() const override = 0;
474 WebRemoteFrame* toWebRemoteFrame() override = 0; 473 WebRemoteFrame* toWebRemoteFrame() override = 0;
475 }; 474 };
476 475
477 } // namespace blink 476 } // namespace blink
478 477
479 #endif // WebLocalFrame_h 478 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698