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

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

Issue 2194683003: [DevTools] Cleanup v8_inspector console API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 private: 84 private:
85 // V8DebuggerClient implementation. 85 // V8DebuggerClient implementation.
86 void runMessageLoopOnPause(int contextGroupId) override; 86 void runMessageLoopOnPause(int contextGroupId) override;
87 void quitMessageLoopOnPause() override; 87 void quitMessageLoopOnPause() override;
88 void muteWarningsAndDeprecations(int contextGroupId) override; 88 void muteWarningsAndDeprecations(int contextGroupId) override;
89 void unmuteWarningsAndDeprecations(int contextGroupId) override; 89 void unmuteWarningsAndDeprecations(int contextGroupId) override;
90 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr ide; 90 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr ide;
91 void beginEnsureAllContextsInGroup(int contextGroupId) override; 91 void beginEnsureAllContextsInGroup(int contextGroupId) override;
92 void endEnsureAllContextsInGroup(int contextGroupId) override; 92 void endEnsureAllContextsInGroup(int contextGroupId) override;
93 void consoleAPIMessage(int contextGroupId, MessageLevel, const String16& mes sage, const String16& url, unsigned lineNumber, unsigned columnNumber, V8StackTr ace*) override; 93 void consoleAPIMessage(int contextGroupId, V8ConsoleAPIType, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8Sta ckTrace*) override;
94 94
95 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop; 95 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop;
96 std::unique_ptr<InspectorTaskRunner> m_taskRunner; 96 std::unique_ptr<InspectorTaskRunner> m_taskRunner;
97 bool m_paused; 97 bool m_paused;
98 98
99 static MainThreadDebugger* s_instance; 99 static MainThreadDebugger* s_instance;
100 100
101 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& ); 101 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& );
102 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu e>&); 102 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu e>&);
103 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& ); 103 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& );
104 }; 104 };
105 105
106 } // namespace blink 106 } // namespace blink
107 107
108 108
109 #endif // MainThreadDebugger_h 109 #endif // MainThreadDebugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698