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

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

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

Powered by Google App Engine
This is Rietveld 408576698