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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 void getProperties(ErrorString*, | 87 void getProperties(ErrorString*, |
88 const String& objectId, | 88 const String& objectId, |
89 const Maybe<bool>& ownProperties, | 89 const Maybe<bool>& ownProperties, |
90 const Maybe<bool>& accessorPropertiesOnly, | 90 const Maybe<bool>& accessorPropertiesOnly, |
91 const Maybe<bool>& generatePreview, | 91 const Maybe<bool>& generatePreview, |
92 OwnPtr<protocol::Array<protocol::Runtime::PropertyDescriptor>>* result, | 92 OwnPtr<protocol::Array<protocol::Runtime::PropertyDescriptor>>* result, |
93 Maybe<protocol::Array<protocol::Runtime::InternalPropertyDescriptor>>* i
nternalProperties, | 93 Maybe<protocol::Array<protocol::Runtime::InternalPropertyDescriptor>>* i
nternalProperties, |
94 Maybe<protocol::Runtime::ExceptionDetails>*) override; | 94 Maybe<protocol::Runtime::ExceptionDetails>*) override; |
95 void releaseObjectGroup(ErrorString*, const String& objectGroup) override; | 95 void releaseObjectGroup(ErrorString*, const String& objectGroup) override; |
96 void run(ErrorString*) override; | 96 void run(ErrorString*) override; |
97 void isRunRequired(ErrorString*, bool* result) override; | |
98 void setCustomObjectFormatterEnabled(ErrorString*, bool) override; | 97 void setCustomObjectFormatterEnabled(ErrorString*, bool) override; |
99 void compileScript(ErrorString*, | 98 void compileScript(ErrorString*, |
100 const String& expression, | 99 const String& expression, |
101 const String& sourceURL, | 100 const String& sourceURL, |
102 bool persistScript, | 101 bool persistScript, |
103 int executionContextId, | 102 int executionContextId, |
104 Maybe<protocol::Runtime::ScriptId>*, | 103 Maybe<protocol::Runtime::ScriptId>*, |
105 Maybe<protocol::Runtime::ExceptionDetails>*) override; | 104 Maybe<protocol::Runtime::ExceptionDetails>*) override; |
106 void runScript(ErrorString*, | 105 void runScript(ErrorString*, |
107 const protocol::Runtime::ScriptId&, | 106 const protocol::Runtime::ScriptId&, |
(...skipping 27 matching lines...) Expand all Loading... |
135 protocol::Frontend::Runtime* m_frontend; | 134 protocol::Frontend::Runtime* m_frontend; |
136 OwnPtr<InjectedScriptManager> m_injectedScriptManager; | 135 OwnPtr<InjectedScriptManager> m_injectedScriptManager; |
137 V8DebuggerImpl* m_debugger; | 136 V8DebuggerImpl* m_debugger; |
138 bool m_enabled; | 137 bool m_enabled; |
139 protocol::HashMap<String, OwnPtr<v8::Global<v8::Script>>> m_compiledScripts; | 138 protocol::HashMap<String, OwnPtr<v8::Global<v8::Script>>> m_compiledScripts; |
140 }; | 139 }; |
141 | 140 |
142 } // namespace blink | 141 } // namespace blink |
143 | 142 |
144 #endif // V8RuntimeAgentImpl_h | 143 #endif // V8RuntimeAgentImpl_h |
OLD | NEW |