Various small fixes

This commit is contained in:
Alexander Bock
2018-11-06 15:04:19 -05:00
parent 7c0268e87c
commit f8c27629f5
23 changed files with 174 additions and 246 deletions
+4 -5
View File
@@ -31,9 +31,8 @@ CefRefPtr<CefRenderProcessHandler> WebBrowserApp::GetRenderProcessHandler() {
return this;
}
void WebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefV8Context> context)
void WebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser>, CefRefPtr<CefFrame>,
CefRefPtr<CefV8Context>)
{
// CEF_REQUIRE_UI_THREAD();
// CefRefPtr<CefV8Value> val = CefV8Value::CreateBool(true);
@@ -41,8 +40,8 @@ void WebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser> browser,
// global->SetValue("IsWithinCEF", val, V8_PROPERTY_ATTRIBUTE_NONE);
}
void WebBrowserApp::OnBeforeCommandLineProcessing(const CefString &process_type,
CefRefPtr<CefCommandLine> command_line)
void WebBrowserApp::OnBeforeCommandLineProcessing(const CefString&,
CefRefPtr<CefCommandLine>)
{
// command_line->AppendSwitch("disable-gpu");
// command_line->AppendSwitch("disable-gpu-compositing");