| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |