Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h

Issue 1942073002: [DevTools] Move getCompletions to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 Maybe<bool>* wasThrown) override; 88 Maybe<bool>* wasThrown) override;
89 void releaseObject(ErrorString*, const String16& objectId) override; 89 void releaseObject(ErrorString*, const String16& objectId) override;
90 void getProperties(ErrorString*, 90 void getProperties(ErrorString*,
91 const String16& objectId, 91 const String16& objectId,
92 const Maybe<bool>& ownProperties, 92 const Maybe<bool>& ownProperties,
93 const Maybe<bool>& accessorPropertiesOnly, 93 const Maybe<bool>& accessorPropertiesOnly,
94 const Maybe<bool>& generatePreview, 94 const Maybe<bool>& generatePreview,
95 OwnPtr<protocol::Array<protocol::Runtime::PropertyDescriptor>>* result, 95 OwnPtr<protocol::Array<protocol::Runtime::PropertyDescriptor>>* result,
96 Maybe<protocol::Array<protocol::Runtime::InternalPropertyDescriptor>>* i nternalProperties, 96 Maybe<protocol::Array<protocol::Runtime::InternalPropertyDescriptor>>* i nternalProperties,
97 Maybe<protocol::Runtime::ExceptionDetails>*) override; 97 Maybe<protocol::Runtime::ExceptionDetails>*) override;
98 void getCompletions(ErrorString*,
99 const Maybe<String16>& objectId,
100 const Maybe<String16>& primitiveType,
101 OwnPtr<protocol::Array<String16>>*);
98 void releaseObjectGroup(ErrorString*, const String16& objectGroup) override; 102 void releaseObjectGroup(ErrorString*, const String16& objectGroup) override;
99 void run(ErrorString*) override; 103 void run(ErrorString*) override;
100 void setCustomObjectFormatterEnabled(ErrorString*, bool) override; 104 void setCustomObjectFormatterEnabled(ErrorString*, bool) override;
101 void compileScript(ErrorString*, 105 void compileScript(ErrorString*,
102 const String16& expression, 106 const String16& expression,
103 const String16& sourceURL, 107 const String16& sourceURL,
104 bool persistScript, 108 bool persistScript,
105 int executionContextId, 109 int executionContextId,
106 Maybe<String16>*, 110 Maybe<String16>*,
107 Maybe<protocol::Runtime::ExceptionDetails>*) override; 111 Maybe<protocol::Runtime::ExceptionDetails>*) override;
(...skipping 16 matching lines...) Expand all
124 protocol::DictionaryValue* m_state; 128 protocol::DictionaryValue* m_state;
125 protocol::Frontend::Runtime* m_frontend; 129 protocol::Frontend::Runtime* m_frontend;
126 V8DebuggerImpl* m_debugger; 130 V8DebuggerImpl* m_debugger;
127 bool m_enabled; 131 bool m_enabled;
128 protocol::HashMap<String16, OwnPtr<v8::Global<v8::Script>>> m_compiledScript s; 132 protocol::HashMap<String16, OwnPtr<v8::Global<v8::Script>>> m_compiledScript s;
129 }; 133 };
130 134
131 } // namespace blink 135 } // namespace blink
132 136
133 #endif // V8RuntimeAgentImpl_h 137 #endif // V8RuntimeAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698