Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 112 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, | 112 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, |
| 113 const Maybe<bool>& includeCommandLineAPI, | 113 const Maybe<bool>& includeCommandLineAPI, |
| 114 OwnPtr<protocol::Runtime::RemoteObject>* result, | 114 OwnPtr<protocol::Runtime::RemoteObject>* result, |
| 115 Maybe<protocol::Runtime::ExceptionDetails>*) override; | 115 Maybe<protocol::Runtime::ExceptionDetails>*) override; |
| 116 | 116 |
| 117 void reset(); | 117 void reset(); |
| 118 void reportExecutionContextCreated(InspectedContext*); | 118 void reportExecutionContextCreated(InspectedContext*); |
| 119 void reportExecutionContextDestroyed(InspectedContext*); | 119 void reportExecutionContextDestroyed(InspectedContext*); |
| 120 void inspect(PassOwnPtr<protocol::Runtime::RemoteObject> objectToInspect, Pa ssOwnPtr<protocol::DictionaryValue> hints); | 120 void inspect(PassOwnPtr<protocol::Runtime::RemoteObject> objectToInspect, Pa ssOwnPtr<protocol::DictionaryValue> hints); |
| 121 | 121 |
| 122 bool enabled() const { return m_enabled; } | |
|
dgozman
2016/04/26 00:24:15
Revert?
kozy
2016/04/26 00:29:48
Done.
| |
| 123 | |
| 122 PassOwnPtr<protocol::Runtime::RemoteObject> wrapObject(v8::Local<v8::Context >, v8::Local<v8::Value>, const String16& groupName, bool generatePreview = false ) override; | 124 PassOwnPtr<protocol::Runtime::RemoteObject> wrapObject(v8::Local<v8::Context >, v8::Local<v8::Value>, const String16& groupName, bool generatePreview = false ) override; |
| 123 PassOwnPtr<protocol::Runtime::RemoteObject> wrapTable(v8::Local<v8::Context> , v8::Local<v8::Value> table, v8::Local<v8::Value> columns) override; | 125 PassOwnPtr<protocol::Runtime::RemoteObject> wrapTable(v8::Local<v8::Context> , v8::Local<v8::Value> table, v8::Local<v8::Value> columns) override; |
| 124 void disposeObjectGroup(const String16&) override; | 126 void disposeObjectGroup(const String16&) override; |
| 125 v8::Local<v8::Value> findObject(ErrorString*, const String16& objectId, v8:: Local<v8::Context>* = nullptr, String16* groupName = nullptr) override; | 127 v8::Local<v8::Value> findObject(ErrorString*, const String16& objectId, v8:: Local<v8::Context>* = nullptr, String16* groupName = nullptr) override; |
| 126 void addInspectedObject(PassOwnPtr<Inspectable>) override; | 128 void addInspectedObject(PassOwnPtr<Inspectable>) override; |
| 127 | 129 |
| 128 private: | 130 private: |
| 129 V8InspectorSessionImpl* m_session; | 131 V8InspectorSessionImpl* m_session; |
| 130 protocol::DictionaryValue* m_state; | 132 protocol::DictionaryValue* m_state; |
| 131 protocol::Frontend::Runtime* m_frontend; | 133 protocol::Frontend::Runtime* m_frontend; |
| 132 V8DebuggerImpl* m_debugger; | 134 V8DebuggerImpl* m_debugger; |
| 133 bool m_enabled; | 135 bool m_enabled; |
| 134 protocol::HashMap<String16, OwnPtr<v8::Global<v8::Script>>> m_compiledScript s; | 136 protocol::HashMap<String16, OwnPtr<v8::Global<v8::Script>>> m_compiledScript s; |
| 135 }; | 137 }; |
| 136 | 138 |
| 137 } // namespace blink | 139 } // namespace blink |
| 138 | 140 |
| 139 #endif // V8RuntimeAgentImpl_h | 141 #endif // V8RuntimeAgentImpl_h |
| OLD | NEW |