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

Side by Side Diff: sky/engine/v8_inspector/InspectorDebuggerAgent.h

Issue 754463004: Remove ScriptPreprocessor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/v8_inspector/BUILD.gn ('k') | sky/engine/v8_inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 virtual void virtualInit() override final; 93 virtual void virtualInit() override final;
94 virtual void setFrontend(InspectorFrontend*) override final; 94 virtual void setFrontend(InspectorFrontend*) override final;
95 virtual void clearFrontend() override final; 95 virtual void clearFrontend() override final;
96 virtual void restore() override final; 96 virtual void restore() override final;
97 97
98 bool isPaused(); 98 bool isPaused();
99 bool runningNestedMessageLoop(); 99 bool runningNestedMessageLoop();
100 void addMessageToConsole(ConsoleMessage*); 100 void addMessageToConsole(ConsoleMessage*);
101 101
102 String preprocessEventListener(LocalFrame*, const String& source, const Stri ng& url, const String& functionName);
103 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode& );
104
105 // Part of the protocol. 102 // Part of the protocol.
106 virtual void enable(ErrorString*) override final; 103 virtual void enable(ErrorString*) override final;
107 virtual void disable(ErrorString*) override final; 104 virtual void disable(ErrorString*) override final;
108 virtual void setBreakpointsActive(ErrorString*, bool active) override final; 105 virtual void setBreakpointsActive(ErrorString*, bool active) override final;
109 virtual void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilR eload) override final; 106 virtual void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilR eload) override final;
110 107
111 virtual void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optionalURL, const String* optionalURLRegex, const int* optionalColumnNumber, co nst String* optionalCondition, const bool* isAntiBreakpoint, TypeBuilder::Debugg er::BreakpointId*, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& locations) override final; 108 virtual void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optionalURL, const String* optionalURLRegex, const int* optionalColumnNumber, co nst String* optionalCondition, const bool* isAntiBreakpoint, TypeBuilder::Debugg er::BreakpointId*, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& locations) override final;
112 virtual void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const String* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<T ypeBuilder::Debugger::Location>& actualLocation) override final; 109 virtual void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const String* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<T ypeBuilder::Debugger::Location>& actualLocation) override final;
113 virtual void removeBreakpoint(ErrorString*, const String& breakpointId) over ride final; 110 virtual void removeBreakpoint(ErrorString*, const String& breakpointId) over ride final;
114 virtual void continueToLocation(ErrorString*, const RefPtr<JSONObject>& loca tion, const bool* interstateLocationOpt) override final; 111 virtual void continueToLocation(ErrorString*, const RefPtr<JSONObject>& loca tion, const bool* interstateLocationOpt) override final;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 bool m_skipAllPauses; 261 bool m_skipAllPauses;
265 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 262 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
266 OwnPtr<AsyncCallStackTracker> m_asyncCallStackTracker; 263 OwnPtr<AsyncCallStackTracker> m_asyncCallStackTracker;
267 PromiseTracker m_promiseTracker; 264 PromiseTracker m_promiseTracker;
268 }; 265 };
269 266
270 } // namespace blink 267 } // namespace blink
271 268
272 269
273 #endif // SKY_ENGINE_V8_INSPECTOR_INSPECTORDEBUGGERAGENT_H_ 270 #endif // SKY_ENGINE_V8_INSPECTOR_INSPECTORDEBUGGERAGENT_H_
OLDNEW
« no previous file with comments | « sky/engine/v8_inspector/BUILD.gn ('k') | sky/engine/v8_inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698