OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef V8Console_h |
| 6 #define V8Console_h |
| 7 |
| 8 #include <v8.h> |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class V8DebuggerClient; |
| 13 |
| 14 // Console API |
| 15 // https://console.spec.whatwg.org/#console-interface |
| 16 class V8Console { |
| 17 public: |
| 18 static v8::Local<v8::Object> create(v8::Local<v8::Context>, V8DebuggerClient
*); |
| 19 |
| 20 static void debugCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 21 static void errorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 22 static void infoCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 23 static void logCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 24 static void warnCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 25 static void dirCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 26 static void dirxmlCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 27 static void tableCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 28 static void traceCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 29 static void groupCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 30 static void groupCollapsedCallback(const v8::FunctionCallbackInfo<v8::Value>
&); |
| 31 static void groupEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 32 static void clearCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 33 static void countCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 34 static void assertCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 35 static void markTimelineCallback(const v8::FunctionCallbackInfo<v8::Value>&)
; |
| 36 static void profileCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 37 static void profileEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 38 static void timelineCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 39 static void timelineEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 40 static void timeCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 41 static void timeEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 42 static void timeStampCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 43 static void memoryGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&)
; |
| 44 }; |
| 45 |
| 46 } // namespace blink |
| 47 |
| 48 #endif // V8Console_h |
OLD | NEW |