mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05: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
|