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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*) overrid
e; | 76 void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*) overrid
e; |
77 | 77 |
78 private: | 78 private: |
79 // V8DebuggerClient implementation. | 79 // V8DebuggerClient implementation. |
80 void runMessageLoopOnPause(int contextGroupId) override; | 80 void runMessageLoopOnPause(int contextGroupId) override; |
81 void quitMessageLoopOnPause() override; | 81 void quitMessageLoopOnPause() override; |
82 void muteWarningsAndDeprecations() override; | 82 void muteWarningsAndDeprecations() override; |
83 void unmuteWarningsAndDeprecations() override; | 83 void unmuteWarningsAndDeprecations() override; |
84 void muteConsole() override; | 84 void muteConsole() override; |
85 void unmuteConsole() override; | 85 void unmuteConsole() override; |
86 bool callingContextCanAccessContext(v8::Local<v8::Context> calling, v8::Loca
l<v8::Context> target) override; | |
87 int ensureDefaultContextInGroup(int contextGroupId) override; | 86 int ensureDefaultContextInGroup(int contextGroupId) override; |
88 | 87 |
89 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop; | 88 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop; |
90 std::unique_ptr<InspectorTaskRunner> m_taskRunner; | 89 std::unique_ptr<InspectorTaskRunner> m_taskRunner; |
91 | 90 |
92 static MainThreadDebugger* s_instance; | 91 static MainThreadDebugger* s_instance; |
93 | 92 |
94 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); | 93 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); |
95 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu
e>&); | 94 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu
e>&); |
96 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); | 95 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace blink | 98 } // namespace blink |
100 | 99 |
101 | 100 |
102 #endif // MainThreadDebugger_h | 101 #endif // MainThreadDebugger_h |
OLD | NEW |