mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-14 04:29:04 +03:00
23 lines
455 B
C++
23 lines
455 B
C++
#ifndef ATOM_CEF_APP_H_
|
|
#define ATOM_CEF_APP_H_
|
|
#pragma once
|
|
|
|
#include "include/cef_app.h"
|
|
|
|
#ifdef PROCESS_HELPER_APP
|
|
#include "atom_cef_render_process_handler.h"
|
|
#endif
|
|
|
|
class AtomCefApp : public CefApp {
|
|
|
|
#ifdef PROCESS_HELPER_APP
|
|
virtual CefRefPtr<CefRenderProcessHandler> GetRenderProcessHandler() OVERRIDE {
|
|
return CefRefPtr<CefRenderProcessHandler>(new AtomCefRenderProcessHandler);
|
|
}
|
|
#endif
|
|
|
|
IMPLEMENT_REFCOUNTING(AtomCefApp);
|
|
};
|
|
|
|
#endif
|