mirror of
https://github.com/chenasraf/webview_cef.git
synced 2026-05-18 01:49:03 +00:00
refine naming
This commit is contained in:
@@ -23,10 +23,10 @@ set(PLUGIN_NAME "webview_cef_plugin")
|
||||
list(APPEND PLUGIN_SOURCES
|
||||
"webview_cef_plugin.cpp"
|
||||
"webview_cef_plugin.h"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/simple_app.cc"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/simple_app.h"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/simple_handler.cc"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/simple_handler.h"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/webview_app.cc"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/webview_app.h"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/webview_handler.cc"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../common/webview_handler.h"
|
||||
)
|
||||
|
||||
# Define the plugin library target. Its name must not be changed (see comment
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include<iostream>
|
||||
#include <mutex>
|
||||
|
||||
#include "simple_app.h"
|
||||
#include "webview_app.h"
|
||||
|
||||
namespace webview_cef {
|
||||
bool init = false;
|
||||
@@ -35,8 +35,8 @@ namespace webview_cef {
|
||||
}
|
||||
return buffer;
|
||||
}));
|
||||
CefRefPtr<SimpleHandler> handler(new SimpleHandler(false));
|
||||
CefRefPtr<SimpleApp> app(new SimpleApp(handler));
|
||||
CefRefPtr<WebviewHandler> handler(new WebviewHandler());
|
||||
CefRefPtr<WebviewApp> app(new WebviewApp(handler));
|
||||
CefMainArgs mainArgs;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user