MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / DevToolsClient

Class DevToolsClient

core/src/browser/devtools.cc:149–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147};
148
149struct DevToolsClient : CefRefCount<cef_client_t>
150{
151 int parent_id_;
152
153 DevToolsClient(int parent_id)
154 : CefRefCount(this)
155 , parent_id_(parent_id)
156 {
157 cef_bind_method(DevToolsClient, get_life_span_handler);
158 cef_bind_method(DevToolsClient, get_keyboard_handler);
159 }
160
161 cef_life_span_handler_t *_get_life_span_handler()
162 {
163 return new DevToolsLifeSpan(parent_id_);
164 }
165
166 cef_keyboard_handler_t *_get_keyboard_handler()
167 {
168 return new DevToolsKeyboardHandler();
169 }
170};
171
172void browser::open_devtools(cef_browser_t *browser)
173{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected