@@ -35,8 +35,8 @@ bool App::OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
3535 CefRefPtr<CefFrame> frame,
3636 CefProcessId source_process,
3737 CefRefPtr<CefProcessMessage> message) {
38- LOGGER_DEBUG << " renderer[" << browser->GetIdentifier () << " ] "
39- << " OnProcessMessageReceived : " << message->GetName ().ToString ();
38+ LOGGER_DEBUG << " V8 renderer[" << browser->GetIdentifier () << " ] "
39+ << " received process message : " << message->GetName ().ToString ();
4040 if (message->GetName () == " SetIsFullscreen" ) {
4141 CefRefPtr<CefListValue> args = message->GetArgumentList ();
4242 bool isFullscreen = args->GetBool (0 );
@@ -62,7 +62,7 @@ void App::OnContextCreated(CefRefPtr<CefBrowser> browser,
6262 CefRefPtr<CefFrame> frame,
6363 CefRefPtr<CefV8Context> context) {
6464 // RENDERER PROCESS.
65- LOGGER_DEBUG << " V8 context created" ;
65+ LOGGER_DEBUG << " V8 context created, in context: " << CefV8Context::InContext () ;
6666 CefRefPtr<CefV8Value> window = context->GetGlobal ();
6767 CefRefPtr<CefV8Handler> handler = GetJavascriptApi (browser);
6868 if (!handler.get ()) {
@@ -95,16 +95,16 @@ void App::OnContextCreated(CefRefPtr<CefBrowser> browser,
9595// /
9696/* --cef()--*/
9797void App::OnBrowserCreated (CefRefPtr<CefBrowser> browser, CefRefPtr<CefDictionaryValue> extra_info) {
98- LOGGER_DEBUG << " OnBrowserCreated() " ;
99- StoreJavascriptApi (browser, new JavascriptApi (browser ));
98+ LOGGER_DEBUG << " V8 browser was created " ;
99+ StoreJavascriptApi (browser, new JavascriptApi ());
100100}
101101
102102// /
103103// Called before a browser is destroyed.
104104// /
105105/* --cef()--*/
106106void App::OnBrowserDestroyed (CefRefPtr<CefBrowser> browser) {
107- LOGGER_DEBUG << " OnBrowserDestroyed() " ;
107+ LOGGER_DEBUG << " V8 browser was destroyed " ;
108108 RemoveJavascriptApi (browser);
109109}
110110
0 commit comments