Linux: Add new CefPrintHandler and CefPrintSettings classes to support printing and a GTK implementation in cefclient (issue #1258).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1762 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2014-07-10 15:41:30 +00:00
parent 6f63f5d4f8
commit 8313963a27
47 changed files with 3803 additions and 3 deletions

View File

@@ -8,6 +8,10 @@
#include "cefclient/performance_test.h"
#include "cefclient/scheme_test.h"
#if defined(OS_LINUX)
#include "cefclient/print_handler_gtk.h"
#endif
// static
void ClientApp::CreateBrowserDelegates(BrowserDelegateSet& delegates) {
}
@@ -25,3 +29,13 @@ void ClientApp::RegisterCustomSchemes(
std::vector<CefString>& cookiable_schemes) {
scheme_test::RegisterCustomSchemes(registrar, cookiable_schemes);
}
// static
CefRefPtr<CefPrintHandler> ClientApp::CreatePrintHandler() {
#if defined(OS_LINUX)
return new ClientPrintHandlerGtk();
#else
return NULL;
#endif
}