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

Side by Side Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h

Issue 2194063002: [DevTools] Move canExecuteScript to V8DebuggerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessag e, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>); 58 unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessag e, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>);
59 59
60 // V8DebuggerClient implementation. 60 // V8DebuggerClient implementation.
61 void runMessageLoopOnPause(int contextGroupId) override; 61 void runMessageLoopOnPause(int contextGroupId) override;
62 void quitMessageLoopOnPause() override; 62 void quitMessageLoopOnPause() override;
63 void muteWarningsAndDeprecations(int contextGroupId) override; 63 void muteWarningsAndDeprecations(int contextGroupId) override;
64 void unmuteWarningsAndDeprecations(int contextGroupId) override; 64 void unmuteWarningsAndDeprecations(int contextGroupId) override;
65 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr ide; 65 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr ide;
66 void beginEnsureAllContextsInGroup(int contextGroupId) override; 66 void beginEnsureAllContextsInGroup(int contextGroupId) override;
67 void endEnsureAllContextsInGroup(int contextGroupId) override; 67 void endEnsureAllContextsInGroup(int contextGroupId) override;
68 bool canExecuteScripts(int contextGroupId) override;
68 69
69 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o verride; 70 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o verride;
70 void consoleAPIMessage(int contextGroupId, V8ConsoleAPIType, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8Sta ckTrace*) override; 71 void consoleAPIMessage(int contextGroupId, V8ConsoleAPIType, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8Sta ckTrace*) override;
71 72
72 private: 73 private:
73 WorkerThread* m_workerThread; 74 WorkerThread* m_workerThread;
74 }; 75 };
75 76
76 } // namespace blink 77 } // namespace blink
77 78
78 #endif // WorkerThreadDebugger_h 79 #endif // WorkerThreadDebugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698