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

Side by Side Diff: Source/core/inspector/InjectedScript.h

Issue 1268353005: [DevTools] Support JQuery event listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added UI Created 5 years, 4 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void restartFrame(ErrorString*, v8::Local<v8::Object> callFrames, const Stri ng& callFrameId); 95 void restartFrame(ErrorString*, v8::Local<v8::Object> callFrames, const Stri ng& callFrameId);
96 void getStepInPositions(ErrorString*, v8::Local<v8::Object> callFrames, cons t String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location >>& positions); 96 void getStepInPositions(ErrorString*, v8::Local<v8::Object> callFrames, cons t String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location >>& positions);
97 void setVariableValue(ErrorString*, v8::Local<v8::Object> callFrames, const String* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, cons t String& variableName, const String& newValueStr); 97 void setVariableValue(ErrorString*, v8::Local<v8::Object> callFrames, const String* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, cons t String& variableName, const String& newValueStr);
98 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB uilder::Debugger::FunctionDetails>* result); 98 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB uilder::Debugger::FunctionDetails>* result);
99 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt r<TypeBuilder::Debugger::GeneratorObjectDetails>* result); 99 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt r<TypeBuilder::Debugger::GeneratorObjectDetails>* result);
100 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result); 100 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result);
101 void getProperties(ErrorString*, const String& objectId, bool ownProperties, bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty peBuilder::Runtime::PropertyDescriptor>>* result, RefPtr<TypeBuilder::Debugger:: ExceptionDetails>*); 101 void getProperties(ErrorString*, const String& objectId, bool ownProperties, bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty peBuilder::Runtime::PropertyDescriptor>>* result, RefPtr<TypeBuilder::Debugger:: ExceptionDetails>*);
102 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>* result, RefPt r<TypeBuilder::Debugger::ExceptionDetails>*); 102 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>* result, RefPt r<TypeBuilder::Debugger::ExceptionDetails>*);
103 void releaseObject(const String& objectId); 103 void releaseObject(const String& objectId);
104 104
105 v8::MaybeLocal<v8::Array> frameworkEventListeners(v8::Local<v8::Value>);
106 v8::MaybeLocal<v8::Set> frameworkEventHandlers(v8::Local<v8::Value>);
107
105 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFra mes(v8::Local<v8::Object>, int asyncOrdinal); 108 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFra mes(v8::Local<v8::Object>, int asyncOrdinal);
106 109
107 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue& , const String& groupName, bool generatePreview = false) const; 110 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue& , const String& groupName, bool generatePreview = false) const;
108 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue& table, const ScriptValue& columns) const; 111 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue& table, const ScriptValue& columns) const;
109 v8::Local<v8::Value> findObject(const RemoteObjectId&) const; 112 v8::Local<v8::Value> findObject(const RemoteObjectId&) const;
110 113
111 String objectIdToObjectGroupName(const String& objectId) const; 114 String objectIdToObjectGroupName(const String& objectId) const;
112 void releaseObjectGroup(const String&); 115 void releaseObjectGroup(const String&);
113 116
114 void setCustomObjectFormatterEnabled(bool); 117 void setCustomObjectFormatterEnabled(bool);
(...skipping 12 matching lines...) Expand all
127 void makeCallWithExceptionDetails(ScriptFunctionCall&, RefPtr<JSONValue>* re sult, RefPtr<TypeBuilder::Debugger::ExceptionDetails>*); 130 void makeCallWithExceptionDetails(ScriptFunctionCall&, RefPtr<JSONValue>* re sult, RefPtr<TypeBuilder::Debugger::ExceptionDetails>*);
128 131
129 ScriptValue m_injectedScriptObject; 132 ScriptValue m_injectedScriptObject;
130 InspectedStateAccessCheck m_inspectedStateAccessCheck; 133 InspectedStateAccessCheck m_inspectedStateAccessCheck;
131 RefPtr<InjectedScriptNative> m_native; 134 RefPtr<InjectedScriptNative> m_native;
132 }; 135 };
133 136
134 } // namespace blink 137 } // namespace blink
135 138
136 #endif 139 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698