cef:Chromium Embedded Framework
官方给了提示,这段代码应该加在哪里合适?
// Create an instance of our CefClient implementation. Various methods in the
// MyClient instance will be called to notify about and customize browser
// behavior.
CefRefPtr<CefClient> client(new MyClient());
// Information about the parent window, client rectangle, etc.
CefWindowInfo info;
info.SetAsChild(...);
// Browser initialization settings.
CefBrowserSettings settings;
// Create the new browser window object asynchronously. This eventually results
// in a call to CefLifeSpanHandler::OnAfterCreated().
CefBrowser::CreateBrowser(info, client, "http://www.google.com", settings);