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

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

Issue 2176283002: [DevTools] Remove V8Debugger::logToConsole method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ThreadDebugger_h 5 #ifndef ThreadDebugger_h
6 #define ThreadDebugger_h 6 #define ThreadDebugger_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/Timer.h" 9 #include "platform/Timer.h"
10 #include "platform/UserGestureIndicator.h" 10 #include "platform/UserGestureIndicator.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 v8::Isolate* m_isolate; 69 v8::Isolate* m_isolate;
70 std::unique_ptr<V8Debugger> m_debugger; 70 std::unique_ptr<V8Debugger> m_debugger;
71 71
72 private: 72 private:
73 v8::Local<v8::Function> eventLogFunction(); 73 v8::Local<v8::Function> eventLogFunction();
74 74
75 static void setMonitorEventsCallback(const v8::FunctionCallbackInfo<v8::Valu e>&, bool enabled); 75 static void setMonitorEventsCallback(const v8::FunctionCallbackInfo<v8::Valu e>&, bool enabled);
76 static void monitorEventsCallback(const v8::FunctionCallbackInfo<v8::Value>& ); 76 static void monitorEventsCallback(const v8::FunctionCallbackInfo<v8::Value>& );
77 static void unmonitorEventsCallback(const v8::FunctionCallbackInfo<v8::Value >&); 77 static void unmonitorEventsCallback(const v8::FunctionCallbackInfo<v8::Value >&);
78 static void logCallback(const v8::FunctionCallbackInfo<v8::Value>&);
79 78
80 static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Val ue>&); 79 static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Val ue>&);
81 80
82 bool m_asyncInstrumentationEnabled; 81 bool m_asyncInstrumentationEnabled;
83 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers; 82 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers;
84 Vector<V8DebuggerClient::TimerCallback> m_timerCallbacks; 83 Vector<V8DebuggerClient::TimerCallback> m_timerCallbacks;
85 Vector<void*> m_timerData; 84 Vector<void*> m_timerData;
86 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator; 85 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator;
87 v8::Global<v8::Function> m_eventLogFunction; 86 v8::Global<v8::Function> m_eventLogFunction;
88 }; 87 };
89 88
90 } // namespace blink 89 } // namespace blink
91 90
92 #endif // ThreadDebugger_h 91 #endif // ThreadDebugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698