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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2339683006: [Blink] Modify SuspendableScriptExecutor to take a v8::Function (Closed)
Patch Set: Win compile fix Created 4 years, 2 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const WebString&) override; 112 const WebString&) override;
113 void setIsolatedWorldHumanReadableName(int worldID, 113 void setIsolatedWorldHumanReadableName(int worldID,
114 const WebString&) override; 114 const WebString&) override;
115 void addMessageToConsole(const WebConsoleMessage&) override; 115 void addMessageToConsole(const WebConsoleMessage&) override;
116 void collectGarbage() override; 116 void collectGarbage() override;
117 v8::Local<v8::Value> executeScriptAndReturnValue( 117 v8::Local<v8::Value> executeScriptAndReturnValue(
118 const WebScriptSource&) override; 118 const WebScriptSource&) override;
119 void requestExecuteScriptAndReturnValue(const WebScriptSource&, 119 void requestExecuteScriptAndReturnValue(const WebScriptSource&,
120 bool userGesture, 120 bool userGesture,
121 WebScriptExecutionCallback*) override; 121 WebScriptExecutionCallback*) override;
122 void requestExecuteV8Function(v8::Local<v8::Function>,
123 v8::Local<v8::Value> receiver,
124 int argc,
125 v8::Local<v8::Value> argv[],
126 WebScriptExecutionCallback*) override;
122 void executeScriptInIsolatedWorld( 127 void executeScriptInIsolatedWorld(
123 int worldID, 128 int worldID,
124 const WebScriptSource* sourcesIn, 129 const WebScriptSource* sourcesIn,
125 unsigned numSources, 130 unsigned numSources,
126 int extensionGroup, 131 int extensionGroup,
127 WebVector<v8::Local<v8::Value>>* results) override; 132 WebVector<v8::Local<v8::Value>>* results) override;
128 void requestExecuteScriptInIsolatedWorld( 133 void requestExecuteScriptInIsolatedWorld(
129 int worldID, 134 int worldID,
130 const WebScriptSource* sourceIn, 135 const WebScriptSource* sourceIn,
131 unsigned numSources, 136 unsigned numSources,
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 470
466 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 471 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
467 WebFrame, 472 WebFrame,
468 frame, 473 frame,
469 frame->isWebLocalFrame(), 474 frame->isWebLocalFrame(),
470 frame.isWebLocalFrame()); 475 frame.isWebLocalFrame());
471 476
472 } // namespace blink 477 } // namespace blink
473 478
474 #endif 479 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698