OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 virtual void enable(ErrorString*) OVERRIDE FINAL; | 73 virtual void enable(ErrorString*) OVERRIDE FINAL; |
74 virtual void disable(ErrorString*) OVERRIDE FINAL; | 74 virtual void disable(ErrorString*) OVERRIDE FINAL; |
75 virtual void clearMessages(ErrorString*) OVERRIDE; | 75 virtual void clearMessages(ErrorString*) OVERRIDE; |
76 bool enabled() { return m_enabled; } | 76 bool enabled() { return m_enabled; } |
77 void reset(); | 77 void reset(); |
78 | 78 |
79 virtual void setFrontend(InspectorFrontend*) OVERRIDE FINAL; | 79 virtual void setFrontend(InspectorFrontend*) OVERRIDE FINAL; |
80 virtual void clearFrontend() OVERRIDE FINAL; | 80 virtual void clearFrontend() OVERRIDE FINAL; |
81 virtual void restore() OVERRIDE FINAL; | 81 virtual void restore() OVERRIDE FINAL; |
82 | 82 |
83 void addConsoleAPIMessageToConsole(MessageType, MessageLevel, const String&
message, ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>, unsigned long re
questIdentifier = 0); | |
84 void addMessageToConsole(ConsoleMessage*); | 83 void addMessageToConsole(ConsoleMessage*); |
85 void adoptWorkerConsoleMessages(WorkerGlobalScopeProxy*); | 84 void adoptWorkerConsoleMessages(WorkerGlobalScopeProxy*); |
86 Vector<unsigned> consoleMessageArgumentCounts(); | 85 Vector<unsigned> consoleMessageArgumentCounts(); |
87 | 86 |
88 void consoleTime(ExecutionContext*, const String& title); | 87 void consoleTime(ExecutionContext*, const String& title); |
89 void consoleTimeEnd(ExecutionContext*, const String& title, ScriptState*); | 88 void consoleTimeEnd(ExecutionContext*, const String& title, ScriptState*); |
90 void setTracingBasedTimeline(ErrorString*, bool enabled); | 89 void setTracingBasedTimeline(ErrorString*, bool enabled); |
91 void consoleTimeline(ExecutionContext*, const String& title, ScriptState*); | 90 void consoleTimeline(ExecutionContext*, const String& title, ScriptState*); |
92 void consoleTimelineEnd(ExecutionContext*, const String& title, ScriptState*
); | 91 void consoleTimelineEnd(ExecutionContext*, const String& title, ScriptState*
); |
93 | 92 |
(...skipping 26 matching lines...) Expand all Loading... |
120 HashMap<String, double> m_times; | 119 HashMap<String, double> m_times; |
121 bool m_enabled; | 120 bool m_enabled; |
122 private: | 121 private: |
123 static int s_enabledAgentCount; | 122 static int s_enabledAgentCount; |
124 }; | 123 }; |
125 | 124 |
126 } // namespace blink | 125 } // namespace blink |
127 | 126 |
128 | 127 |
129 #endif // !defined(InspectorConsoleAgent_h) | 128 #endif // !defined(InspectorConsoleAgent_h) |
OLD | NEW |