Skip to content

Commit

Permalink
Update CEF to 3.2987.1591.gd3e47f5 (Chromium 57.0.2987.88)
Browse files Browse the repository at this point in the history
  • Loading branch information
jushar committed Mar 12, 2017
1 parent b26aebb commit 268c42c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Client/ceflauncher_DLL/CCefApp.h
Expand Up @@ -53,10 +53,10 @@ class CCefApp : public CefApp, public CefRenderProcessHandler
}
}

virtual void OnRegisterCustomSchemes ( CefRefPtr < CefSchemeRegistrar > registrar ) override
virtual void OnRegisterCustomSchemes ( CefRawPtr < CefSchemeRegistrar > registrar ) override
{
// Register custom MTA scheme (has to be called in all proceseses)
registrar->AddCustomScheme ( "mtalocal", false, false, false );
registrar->AddCustomScheme ( "mtalocal", false, false, false, false, false );
}


Expand Down
4 changes: 2 additions & 2 deletions Client/cefweb/CWebApp.cpp
Expand Up @@ -21,10 +21,10 @@ CefRefPtr<CefResourceHandler> CWebApp::HandleError(const SString& strError, unsi
}


void CWebApp::OnRegisterCustomSchemes(CefRefPtr < CefSchemeRegistrar > registrar)
void CWebApp::OnRegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar)
{
// Register custom MTA scheme (has to be called in all proceseses)
registrar->AddCustomScheme("mtalocal", false, false, false);
registrar->AddCustomScheme("mtalocal", false, false, false, false, false);
}

void CWebApp::OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr<CefCommandLine> command_line)
Expand Down
3 changes: 2 additions & 1 deletion Client/cefweb/CWebApp.h
Expand Up @@ -8,14 +8,15 @@
*****************************************************************************/
#pragma once
#include <cef3/include/cef_app.h>
#include <cef3/include/cef_scheme.h>

class CWebApp : public CefApp, public CefSchemeHandlerFactory
{
public:
// Error Handler
static CefRefPtr<CefResourceHandler> HandleError(const SString& strError, unsigned int uiError);

virtual void OnRegisterCustomSchemes(CefRefPtr<CefSchemeRegistrar> registrar) override;
virtual void OnRegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar) override;
virtual void OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr<CefCommandLine> command_line) override;

// CefSchemeHandlerFactory methods
Expand Down

0 comments on commit 268c42c

Please sign in to comment.