Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 V8Console_h | 5 #ifndef V8Console_h |
| 6 #define V8Console_h | 6 #define V8Console_h |
| 7 | 7 |
| 8 #include <v8.h> | 8 #include <v8.h> |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 48 static void memoryGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; | 48 static void memoryGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; |
| 49 static void memorySetterCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; | 49 static void memorySetterCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; |
| 50 | 50 |
| 51 // CommandLineAPI | 51 // CommandLineAPI |
| 52 static void keysCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 52 static void keysCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 53 static void valuesCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 53 static void valuesCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 54 static void debugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>& ); | 54 static void debugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>& ); |
| 55 static void undebugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value >&); | 55 static void undebugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value >&); |
| 56 static void monitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value >&); | 56 static void monitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value >&); |
| 57 static void unmonitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Val ue>&); | 57 static void unmonitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Val ue>&); |
| 58 static void inspectedObject(const v8::FunctionCallbackInfo<v8::Value>&, unsi gned num); | |
| 59 static void firstInspectedObject(const v8::FunctionCallbackInfo<v8::Value>& info) { inspectedObject(info, 0); } | |
|
dgozman
2016/04/25 18:20:28
I'd name these inspectedObject0...4. WDYT?
kozy
2016/04/25 20:33:26
Done.
| |
| 60 static void secondInspectedObject(const v8::FunctionCallbackInfo<v8::Value>& info) { inspectedObject(info, 1); } | |
| 61 static void thirdInspectedObject(const v8::FunctionCallbackInfo<v8::Value>& info) { inspectedObject(info, 2); } | |
| 62 static void fourthInspectedObject(const v8::FunctionCallbackInfo<v8::Value>& info) { inspectedObject(info, 3); } | |
| 63 static void fifthInspectedObject(const v8::FunctionCallbackInfo<v8::Value>& info) { inspectedObject(info, 4); } | |
| 58 }; | 64 }; |
| 59 | 65 |
| 60 } // namespace blink | 66 } // namespace blink |
| 61 | 67 |
| 62 #endif // V8Console_h | 68 #endif // V8Console_h |
| OLD | NEW |