| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 explicit MainThreadDebugger(v8::Isolate*); | 57 explicit MainThreadDebugger(v8::Isolate*); |
| 58 ~MainThreadDebugger() override; | 58 ~MainThreadDebugger() override; |
| 59 | 59 |
| 60 static MainThreadDebugger* instance(); | 60 static MainThreadDebugger* instance(); |
| 61 static void interruptMainThreadAndRun(std::unique_ptr<InspectorTaskRunner::T
ask>); | 61 static void interruptMainThreadAndRun(std::unique_ptr<InspectorTaskRunner::T
ask>); |
| 62 | 62 |
| 63 InspectorTaskRunner* taskRunner() const { return m_taskRunner.get(); } | 63 InspectorTaskRunner* taskRunner() const { return m_taskRunner.get(); } |
| 64 bool isWorker() override { return false; } | 64 bool isWorker() override { return false; } |
| 65 void setClientMessageLoop(PassOwnPtr<ClientMessageLoop>); | 65 void setClientMessageLoop(PassOwnPtr<ClientMessageLoop>); |
| 66 int contextGroupId(LocalFrame*); | 66 int contextGroupId(LocalFrame*); |
| 67 void didClearContextsForFrame(LocalFrame*); |
| 67 void contextCreated(ScriptState*, LocalFrame*, SecurityOrigin*); | 68 void contextCreated(ScriptState*, LocalFrame*, SecurityOrigin*); |
| 68 void contextWillBeDestroyed(ScriptState*); | 69 void contextWillBeDestroyed(ScriptState*); |
| 69 | 70 |
| 70 void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::O
bject>) override; | 71 void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::O
bject>) override; |
| 71 | 72 |
| 72 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o
verride; | 73 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o
verride; |
| 73 protected: | 74 protected: |
| 74 void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*) overrid
e; | 75 void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*) overrid
e; |
| 75 | 76 |
| 76 private: | 77 private: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 91 | 92 |
| 92 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); | 93 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); |
| 93 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu
e>&); | 94 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu
e>&); |
| 94 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); | 95 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>&
); |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace blink | 98 } // namespace blink |
| 98 | 99 |
| 99 | 100 |
| 100 #endif // MainThreadDebugger_h | 101 #endif // MainThreadDebugger_h |
| OLD | NEW |