2015-01-31 01:55:56 +01: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.
|
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/shared/browser/client_app_browser.h"
|
2015-01-31 01:55:56 +01:00
|
|
|
|
|
|
|
#if defined(OS_LINUX)
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/cefclient/browser/print_handler_gtk.h"
|
2015-01-31 01:55:56 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace client {
|
|
|
|
|
|
|
|
// static
|
2015-01-31 05:41:36 +01:00
|
|
|
void ClientAppBrowser::CreateDelegates(DelegateSet& delegates) {
|
2015-01-31 01:55:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// static
|
2015-01-31 05:41:36 +01:00
|
|
|
CefRefPtr<CefPrintHandler> ClientAppBrowser::CreatePrintHandler() {
|
2015-01-31 01:55:56 +01:00
|
|
|
#if defined(OS_LINUX)
|
|
|
|
return new ClientPrintHandlerGtk();
|
|
|
|
#else
|
|
|
|
return NULL;
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace client
|