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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: rebase Created 3 years, 9 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void executeScriptInIsolatedWorld( 131 void executeScriptInIsolatedWorld(
132 int worldID, 132 int worldID,
133 const WebScriptSource* sourcesIn, 133 const WebScriptSource* sourcesIn,
134 unsigned numSources, 134 unsigned numSources,
135 WebVector<v8::Local<v8::Value>>* results) override; 135 WebVector<v8::Local<v8::Value>>* results) override;
136 void requestExecuteScriptInIsolatedWorld( 136 void requestExecuteScriptInIsolatedWorld(
137 int worldID, 137 int worldID,
138 const WebScriptSource* sourceIn, 138 const WebScriptSource* sourceIn,
139 unsigned numSources, 139 unsigned numSources,
140 bool userGesture, 140 bool userGesture,
141 ScriptExecutionType,
141 WebScriptExecutionCallback*) override; 142 WebScriptExecutionCallback*) override;
142 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 143 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
143 v8::Local<v8::Function>, 144 v8::Local<v8::Function>,
144 v8::Local<v8::Value>, 145 v8::Local<v8::Value>,
145 int argc, 146 int argc,
146 v8::Local<v8::Value> argv[]) override; 147 v8::Local<v8::Value> argv[]) override;
147 v8::Local<v8::Context> mainWorldScriptContext() const override; 148 v8::Local<v8::Context> mainWorldScriptContext() const override;
148 void reload(WebFrameLoadType) override; 149 void reload(WebFrameLoadType) override;
149 void reloadWithOverrideURL(const WebURL& overrideUrl, 150 void reloadWithOverrideURL(const WebURL& overrideUrl,
150 WebFrameLoadType) override; 151 WebFrameLoadType) override;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 502
502 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 503 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
503 WebFrame, 504 WebFrame,
504 frame, 505 frame,
505 frame->isWebLocalFrame(), 506 frame->isWebLocalFrame(),
506 frame.isWebLocalFrame()); 507 frame.isWebLocalFrame());
507 508
508 } // namespace blink 509 } // namespace blink
509 510
510 #endif 511 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698