]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/linux/tests/cefclient/browser/client_app_delegates_browser.cc
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / linux / tests / cefclient / browser / client_app_delegates_browser.cc
diff --git a/dependencies64/cef/linux/tests/cefclient/browser/client_app_delegates_browser.cc b/dependencies64/cef/linux/tests/cefclient/browser/client_app_delegates_browser.cc
new file mode 100644 (file)
index 0000000..83128e8
--- /dev/null
@@ -0,0 +1,29 @@
+// 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 "tests/shared/browser/client_app_browser.h"
+
+#include "tests/cefclient/browser/client_browser.h"
+
+#if defined(OS_LINUX)
+#include "tests/cefclient/browser/print_handler_gtk.h"
+#endif
+
+namespace client {
+
+// static
+void ClientAppBrowser::CreateDelegates(DelegateSet& delegates) {
+  browser::CreateDelegates(delegates);
+}
+
+// static
+CefRefPtr<CefPrintHandler> ClientAppBrowser::CreatePrintHandler() {
+#if defined(OS_LINUX)
+  return new ClientPrintHandlerGtk();
+#else
+  return NULL;
+#endif
+}
+
+}  // namespace client