how to get devtools info?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

how to get devtools info?

Postby zhengtong0898 » Fri Feb 21, 2020 11:07 am

i use this code to create a popup devtool.
Code: Select all
    CefWindowInfo window_info;
    window_info.SetAsPopup(nullptr, "devtools://devtools/bundled/devtools_app.html");
    CefBrowserSettings browser_settings;

    CefPoint point = CefPoint();
    if (params) {
        point.x = params->GetXCoord();
        point.y = params->GetYCoord();
    }

    browser->GetHost()->ShowDevTools(window_info, client_handler, browser_settings, point);


i have two problem:
1. cefclient demo can't open devtool automaticlly.
in the devtool window, click settings -> checked 'Auto-open DevTools for popups' box, and then create another browser window, the newer devtool can't open automaticly.

2. how to get devtool's settings info ?
i want to get devtools settings info that i can ShowDevTool in ClientHandler::OnAfterCreated .
zhengtong0898
Newbie
 
Posts: 4
Joined: Fri Feb 21, 2020 10:34 am

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 13 guests