OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:injectedScript
(Results
1 - 12
of
12
) sorted by null
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/Panel/
InspectedWindowLoadMonitor.js
39
injectedScript
: function() {
PreprocessorPanel.js
27
function reloadWithPreprocessor(
injectedScript
) {
31
injectedScript
: '(' +
injectedScript
+ ')()',
42
reloadWithPreprocessor(loadMonitor.
injectedScript
);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
InjectedScriptModule.cpp
36
#include "core/inspector/
InjectedScript
.h"
48
InjectedScript
injectedScript
= injectedScriptManager->injectedScriptFor(scriptState);
49
ASSERT(!
injectedScript
.isEmpty());
50
if (
injectedScript
.isEmpty())
53
// FIXME: Make the
InjectedScript
a module itself.
54
ScriptFunctionCall function(
injectedScript
.injectedScriptObject(), "module");
57
ScriptValue resultValue =
injectedScript
.callFunctionWithEvalEnabled(function, hadException);
61
ScriptFunctionCall function(
injectedScript
.injectedScriptObject(), "injectModule");
64
resultValue =
injectedScript
.callFunctionWithEvalEnabled(function, hadException)
[
all
...]
PageDebuggerAgent.cpp
120
InjectedScript
PageDebuggerAgent::injectedScriptForEval(ErrorString* errorString, const int* executionContextId)
126
InjectedScript
injectedScript
= injectedScriptManager()->injectedScriptForId(*executionContextId);
127
if (
injectedScript
.isEmpty())
129
return
injectedScript
;
PageRuntimeAgent.cpp
39
#include "core/inspector/
InjectedScript
.h"
121
InjectedScript
PageRuntimeAgent::injectedScriptForEval(ErrorString* errorString, const int* executionContextId)
125
InjectedScript
result = injectedScriptManager()->injectedScriptFor(scriptState);
130
InjectedScript
injectedScript
= injectedScriptManager()->injectedScriptForId(*executionContextId);
131
if (
injectedScript
.isEmpty())
133
return
injectedScript
;
InspectorRuntimeAgent.cpp
37
#include "core/inspector/
InjectedScript
.h"
80
InjectedScript
injectedScript
= injectedScriptForEval(errorString, executionContextId);
81
if (
injectedScript
.isEmpty())
89
injectedScript
.evaluate(errorString, expression, objectGroup ? *objectGroup : "", asBool(includeCommandLineAPI), asBool(returnByValue), asBool(generatePreview), &result, wasThrown, &exceptionDetails);
99
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptForObjectId(objectId);
100
if (
injectedScript
.isEmpty()) {
114
injectedScript
.callFunctionOn(errorString, objectId, expression, arguments, asBool(returnByValue), asBool(generatePreview), &result, wasThrown);
124
InjectedScript
injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId)
[
all
...]
InspectorConsoleAgent.cpp
37
#include "core/inspector/
InjectedScript
.h"
296
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptFor(arguments->scriptState());
297
if (!
injectedScript
.isEmpty()) {
302
RefPtr<TypeBuilder::Runtime::RemoteObject> inspectorValue =
injectedScript
.wrapTable(table, columns);
310
RefPtr<TypeBuilder::Runtime::RemoteObject> inspectorValue =
injectedScript
.wrapObject(arguments->argumentAt(i), "console", generatePreview);
InspectorController.cpp
352
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptFor(ScriptState::forMainWorld(frame));
353
if (
injectedScript
.isEmpty())
355
injectedScript
.inspectNode(node);
InspectorHeapProfilerAgent.cpp
35
#include "core/inspector/
InjectedScript
.h"
294
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptFor(heapObject.scriptState());
295
if (
injectedScript
.isEmpty()) {
299
result =
injectedScript
.wrapObject(heapObject, objectGroup ? *objectGroup : "");
306
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptForObjectId(objectId);
307
if (
injectedScript
.isEmpty()) {
311
ScriptValue value =
injectedScript
.findObjectById(objectId);
312
ScriptState::Scope scope(
injectedScript
.scriptState())
[
all
...]
InspectorDebuggerAgent.cpp
470
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptForObjectId(callFrameId);
471
if (
injectedScript
.isEmpty()) {
476
injectedScript
.getStepInPositions(errorString, m_currentCallStack, callFrameId, positions);
669
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptForObjectId(callFrameId);
670
if (
injectedScript
.isEmpty()) {
675
injectedScript
.restartFrame(errorString, m_currentCallStack, callFrameId, &result);
702
InjectedScript
injectedScript
= m_injectedScriptManager->injectedScriptForObjectId(functionId)
[
all
...]
InspectorDOMAgent.cpp
[
all
...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
ExtensionServer.js
359
var
injectedScript
;
360
if (options.
injectedScript
)
361
injectedScript
= "(function(){" + options.
injectedScript
+ "})()";
363
WebInspector.resourceTreeModel.reloadPage(!!options.ignoreCache,
injectedScript
, preprocessingScript);
[
all
...]
Completed in 291 milliseconds