2012-04-12 23:58:35 +02:00
|
|
|
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
|
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "cefclient/client_app.h"
|
2012-06-11 17:52:49 +02:00
|
|
|
#include "cefclient/client_renderer.h"
|
2012-10-26 22:42:41 +02:00
|
|
|
#include "cefclient/performance_test.h"
|
2012-04-24 20:01:48 +02:00
|
|
|
#include "cefclient/scheme_test.h"
|
2012-04-12 23:58:35 +02:00
|
|
|
|
2014-07-10 17:41:30 +02:00
|
|
|
#if defined(OS_LINUX)
|
|
|
|
#include "cefclient/print_handler_gtk.h"
|
|
|
|
#endif
|
|
|
|
|
2012-09-28 19:11:10 +02:00
|
|
|
// static
|
|
|
|
void ClientApp::CreateBrowserDelegates(BrowserDelegateSet& delegates) {
|
|
|
|
}
|
|
|
|
|
2012-04-12 23:58:35 +02:00
|
|
|
// static
|
|
|
|
void ClientApp::CreateRenderDelegates(RenderDelegateSet& delegates) {
|
2012-06-11 17:52:49 +02:00
|
|
|
client_renderer::CreateRenderDelegates(delegates);
|
2012-10-26 22:42:41 +02:00
|
|
|
performance_test::CreateRenderDelegates(delegates);
|
2012-04-12 23:58:35 +02:00
|
|
|
}
|
2012-04-24 20:01:48 +02:00
|
|
|
|
|
|
|
// static
|
2012-06-19 18:29:49 +02:00
|
|
|
void ClientApp::RegisterCustomSchemes(
|
|
|
|
CefRefPtr<CefSchemeRegistrar> registrar,
|
|
|
|
std::vector<CefString>& cookiable_schemes) {
|
|
|
|
scheme_test::RegisterCustomSchemes(registrar, cookiable_schemes);
|
2012-04-24 20:01:48 +02:00
|
|
|
}
|
2014-07-10 17:41:30 +02:00
|
|
|
|
|
|
|
// static
|
|
|
|
CefRefPtr<CefPrintHandler> ClientApp::CreatePrintHandler() {
|
|
|
|
#if defined(OS_LINUX)
|
|
|
|
return new ClientPrintHandlerGtk();
|
|
|
|
#else
|
|
|
|
return NULL;
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|