| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 void disable(ErrorString*) override; | 64 void disable(ErrorString*) override; |
| 65 void evaluate(ErrorString*, | 65 void evaluate(ErrorString*, |
| 66 const String16& expression, | 66 const String16& expression, |
| 67 const Maybe<String16>& objectGroup, | 67 const Maybe<String16>& objectGroup, |
| 68 const Maybe<bool>& includeCommandLineAPI, | 68 const Maybe<bool>& includeCommandLineAPI, |
| 69 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, | 69 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, |
| 70 const Maybe<int>& executionContextId, | 70 const Maybe<int>& executionContextId, |
| 71 const Maybe<bool>& returnByValue, | 71 const Maybe<bool>& returnByValue, |
| 72 const Maybe<bool>& generatePreview, | 72 const Maybe<bool>& generatePreview, |
| 73 const Maybe<bool>& userGesture, | 73 const Maybe<bool>& userGesture, |
| 74 std::unique_ptr<protocol::Runtime::RemoteObject>* result, | 74 const Maybe<bool>& awaitPromise, |
| 75 Maybe<bool>* wasThrown, | 75 std::unique_ptr<EvaluateCallback>) override; |
| 76 Maybe<protocol::Runtime::ExceptionDetails>*) override; | |
| 77 void awaitPromise(ErrorString*, | 76 void awaitPromise(ErrorString*, |
| 78 const String16& promiseObjectId, | 77 const String16& promiseObjectId, |
| 79 const Maybe<bool>& returnByValue, | 78 const Maybe<bool>& returnByValue, |
| 80 const Maybe<bool>& generatePreview, | 79 const Maybe<bool>& generatePreview, |
| 81 std::unique_ptr<AwaitPromiseCallback>) override; | 80 std::unique_ptr<AwaitPromiseCallback>) override; |
| 82 void callFunctionOn(ErrorString*, | 81 void callFunctionOn(ErrorString*, |
| 83 const String16& objectId, | 82 const String16& objectId, |
| 84 const String16& expression, | 83 const String16& expression, |
| 85 const Maybe<protocol::Array<protocol::Runtime::CallArgument>>& optionalA
rguments, | 84 const Maybe<protocol::Array<protocol::Runtime::CallArgument>>& optionalA
rguments, |
| 86 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, | 85 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 protocol::DictionaryValue* m_state; | 131 protocol::DictionaryValue* m_state; |
| 133 protocol::Runtime::Frontend m_frontend; | 132 protocol::Runtime::Frontend m_frontend; |
| 134 V8DebuggerImpl* m_debugger; | 133 V8DebuggerImpl* m_debugger; |
| 135 bool m_enabled; | 134 bool m_enabled; |
| 136 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi
ledScripts; | 135 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi
ledScripts; |
| 137 }; | 136 }; |
| 138 | 137 |
| 139 } // namespace blink | 138 } // namespace blink |
| 140 | 139 |
| 141 #endif // V8RuntimeAgentImpl_h | 140 #endif // V8RuntimeAgentImpl_h |
| OLD | NEW |