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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 private: | 86 private: |
87 void reportConsoleMessage(ExecutionContext*, | 87 void reportConsoleMessage(ExecutionContext*, |
88 MessageSource, | 88 MessageSource, |
89 MessageLevel, | 89 MessageLevel, |
90 const String& message, | 90 const String& message, |
91 SourceLocation*) override; | 91 SourceLocation*) override; |
92 int contextGroupId(ExecutionContext*) override; | 92 int contextGroupId(ExecutionContext*) override; |
93 | 93 |
94 // V8InspectorClient implementation. | 94 // V8InspectorClient implementation. |
95 void runMessageLoopOnPause(int contextGroupId) override; | 95 void runMessageLoopOnPause(int contextGroupId) override; |
96 void quitMessageLoopOnPause() override; | 96 void quitMessageLoopOnPause(); |
| 97 void quitMessageLoopOnPause(int contextGroupId); |
97 void muteMetrics(int contextGroupId) override; | 98 void muteMetrics(int contextGroupId) override; |
98 void unmuteMetrics(int contextGroupId) override; | 99 void unmuteMetrics(int contextGroupId) override; |
99 v8::Local<v8::Context> ensureDefaultContextInGroup( | 100 v8::Local<v8::Context> ensureDefaultContextInGroup( |
100 int contextGroupId) override; | 101 int contextGroupId) override; |
101 void beginEnsureAllContextsInGroup(int contextGroupId) override; | 102 void beginEnsureAllContextsInGroup(int contextGroupId) override; |
102 void endEnsureAllContextsInGroup(int contextGroupId) override; | 103 void endEnsureAllContextsInGroup(int contextGroupId) override; |
103 bool canExecuteScripts(int contextGroupId) override; | 104 bool canExecuteScripts(int contextGroupId) override; |
104 void runIfWaitingForDebugger(int contextGroupId) override; | 105 void runIfWaitingForDebugger(int contextGroupId) override; |
105 void consoleAPIMessage(int contextGroupId, | 106 void consoleAPIMessage(int contextGroupId, |
106 v8_inspector::V8ConsoleAPIType, | 107 v8_inspector::V8ConsoleAPIType, |
(...skipping 14 matching lines...) Expand all Loading... |
121 | 122 |
122 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop; | 123 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop; |
123 std::unique_ptr<InspectorTaskRunner> m_taskRunner; | 124 std::unique_ptr<InspectorTaskRunner> m_taskRunner; |
124 bool m_paused; | 125 bool m_paused; |
125 static MainThreadDebugger* s_instance; | 126 static MainThreadDebugger* s_instance; |
126 }; | 127 }; |
127 | 128 |
128 } // namespace blink | 129 } // namespace blink |
129 | 130 |
130 #endif // MainThreadDebugger_h | 131 #endif // MainThreadDebugger_h |
OLD | NEW |