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

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

Issue 1132793002: DevTools: do not enable debugger for pages where script execution is prohibited (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/inspector/PageDebuggerAgent.h » ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void canSetScriptSource(ErrorString*, bool* result) final { *result = true; } 87 void canSetScriptSource(ErrorString*, bool* result) final { *result = true; }
88 88
89 void init() override final; 89 void init() override final;
90 void restore() override final; 90 void restore() override final;
91 void disable(ErrorString*) override final; 91 void disable(ErrorString*) override final;
92 92
93 bool isPaused(); 93 bool isPaused();
94 void addMessageToConsole(ConsoleMessage*); 94 void addMessageToConsole(ConsoleMessage*);
95 95
96 // Part of the protocol. 96 // Part of the protocol.
97 void enable(ErrorString*) final; 97 void enable(ErrorString*) override;
98 void setBreakpointsActive(ErrorString*, bool active) final; 98 void setBreakpointsActive(ErrorString*, bool active) final;
99 void setSkipAllPauses(ErrorString*, bool skipped) final; 99 void setSkipAllPauses(ErrorString*, bool skipped) final;
100 100
101 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optional URL, const String* optionalURLRegex, const int* optionalColumnNumber, const Stri ng* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder: :Array<TypeBuilder::Debugger::Location> >& locations) final; 101 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optional URL, const String* optionalURLRegex, const int* optionalColumnNumber, const Stri ng* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder: :Array<TypeBuilder::Debugger::Location> >& locations) final;
102 void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild er::Debugger::Location>& actualLocation) final; 102 void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild er::Debugger::Location>& actualLocation) final;
103 void removeBreakpoint(ErrorString*, const String& breakpointId) final; 103 void removeBreakpoint(ErrorString*, const String& breakpointId) final;
104 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co nst bool* interstateLocationOpt) final; 104 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co nst bool* interstateLocationOpt) final;
105 void getStepInPositions(ErrorString*, const String& callFrameId, RefPtr<Type Builder::Array<TypeBuilder::Debugger::Location> >& positions) final; 105 void getStepInPositions(ErrorString*, const String& callFrameId, RefPtr<Type Builder::Array<TypeBuilder::Debugger::Location> >& positions) final;
106 void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Debug ger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) final; 106 void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Debug ger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) final;
107 void searchInContent(ErrorString*, const String& scriptId, const String& que ry, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::SearchMatch>>&) final; 107 void searchInContent(ErrorString*, const String& scriptId, const String& que ry, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::SearchMatch>>&) final;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 int m_currentAsyncOperationId; 305 int m_currentAsyncOperationId;
306 bool m_pendingTraceAsyncOperationCompleted; 306 bool m_pendingTraceAsyncOperationCompleted;
307 bool m_startingStepIntoAsync; 307 bool m_startingStepIntoAsync;
308 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT rackingListeners; 308 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT rackingListeners;
309 }; 309 };
310 310
311 } // namespace blink 311 } // namespace blink
312 312
313 313
314 #endif // InspectorDebuggerAgent_h 314 #endif // InspectorDebuggerAgent_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/PageDebuggerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698