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

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

Issue 472023002: [DevTools] ConsoleAPI messages pass through frame console (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: PassRefPtr<ConsoleMessage> -> PassRefPtrWillBeRawPtr<ConsoleMessage> Created 6 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) 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 29 matching lines...) Expand all
40 #include "core/inspector/ScriptBreakpoint.h" 40 #include "core/inspector/ScriptBreakpoint.h"
41 #include "core/inspector/ScriptDebugListener.h" 41 #include "core/inspector/ScriptDebugListener.h"
42 #include "wtf/Forward.h" 42 #include "wtf/Forward.h"
43 #include "wtf/HashMap.h" 43 #include "wtf/HashMap.h"
44 #include "wtf/PassRefPtr.h" 44 #include "wtf/PassRefPtr.h"
45 #include "wtf/Vector.h" 45 #include "wtf/Vector.h"
46 #include "wtf/text/StringHash.h" 46 #include "wtf/text/StringHash.h"
47 47
48 namespace blink { 48 namespace blink {
49 49
50 class ConsoleMessage;
50 class Document; 51 class Document;
51 class Event; 52 class Event;
52 class EventListener; 53 class EventListener;
53 class EventTarget; 54 class EventTarget;
54 class ExecutionContextTask; 55 class ExecutionContextTask;
55 class FormData; 56 class FormData;
56 class HTTPHeaderMap; 57 class HTTPHeaderMap;
57 class InjectedScriptManager; 58 class InjectedScriptManager;
58 class InspectorFrontend; 59 class InspectorFrontend;
59 class InstrumentingAgents; 60 class InstrumentingAgents;
(...skipping 30 matching lines...) Expand all
90 91
91 virtual void canSetScriptSource(ErrorString*, bool* result) OVERRIDE FINAL { *result = true; } 92 virtual void canSetScriptSource(ErrorString*, bool* result) OVERRIDE FINAL { *result = true; }
92 93
93 virtual void init() OVERRIDE FINAL; 94 virtual void init() OVERRIDE FINAL;
94 virtual void setFrontend(InspectorFrontend*) OVERRIDE FINAL; 95 virtual void setFrontend(InspectorFrontend*) OVERRIDE FINAL;
95 virtual void clearFrontend() OVERRIDE FINAL; 96 virtual void clearFrontend() OVERRIDE FINAL;
96 virtual void restore() OVERRIDE FINAL; 97 virtual void restore() OVERRIDE FINAL;
97 98
98 bool isPaused(); 99 bool isPaused();
99 bool runningNestedMessageLoop(); 100 bool runningNestedMessageLoop();
100 void addConsoleAPIMessageToConsole(MessageType, MessageLevel, const String&, ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>, unsigned long); 101 void addMessageToConsole(ConsoleMessage*);
101 102
102 String preprocessEventListener(LocalFrame*, const String& source, const Stri ng& url, const String& functionName); 103 String preprocessEventListener(LocalFrame*, const String& source, const Stri ng& url, const String& functionName);
103 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode& ); 104 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode& );
104 105
105 // Part of the protocol. 106 // Part of the protocol.
106 virtual void enable(ErrorString*) OVERRIDE FINAL; 107 virtual void enable(ErrorString*) OVERRIDE FINAL;
107 virtual void disable(ErrorString*) OVERRIDE FINAL; 108 virtual void disable(ErrorString*) OVERRIDE FINAL;
108 virtual void setBreakpointsActive(ErrorString*, bool active) OVERRIDE FINAL; 109 virtual void setBreakpointsActive(ErrorString*, bool active) OVERRIDE FINAL;
109 virtual void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilR eload) OVERRIDE FINAL; 110 virtual void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilR eload) OVERRIDE FINAL;
110 111
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 int m_minFrameCountForSkip; 265 int m_minFrameCountForSkip;
265 bool m_skipAllPauses; 266 bool m_skipAllPauses;
266 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 267 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
267 OwnPtrWillBeMember<AsyncCallStackTracker> m_asyncCallStackTracker; 268 OwnPtrWillBeMember<AsyncCallStackTracker> m_asyncCallStackTracker;
268 }; 269 };
269 270
270 } // namespace blink 271 } // namespace blink
271 272
272 273
273 #endif // !defined(InspectorDebuggerAgent_h) 274 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorConsoleMessage.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698