Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10240)

Unified Diff: chrome/renderer/pepper/ppb_flash_print_impl.cc

Issue 10173029: Add a PPB_Flash_Print interface and implement in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/pepper/ppb_flash_print_impl.h ('k') | chrome/renderer/pepper/ppb_nacl_private_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper/ppb_flash_print_impl.cc
diff --git a/chrome/renderer/pepper/ppb_flash_print_impl.cc b/chrome/renderer/pepper/ppb_flash_print_impl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ecf13a7b0285327cf29303e9dd8e265bf6662e8c
--- /dev/null
+++ b/chrome/renderer/pepper/ppb_flash_print_impl.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium 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 "chrome/renderer/pepper/ppb_flash_print_impl.h"
+
+#include "chrome/renderer/pepper/ppb_pdf_impl.h"
+#include "ppapi/c/private/ppb_flash_print.h"
+
+namespace {
+
+const PPB_Flash_Print flash_print_interface = {
+ &PPB_PDF_Impl::InvokePrintingForInstance
+};
+
+} // namespace
+
+// static
+const PPB_Flash_Print_1_0* PPB_Flash_Print_Impl::GetInterface() {
+ return &flash_print_interface;
+}
« no previous file with comments | « chrome/renderer/pepper/ppb_flash_print_impl.h ('k') | chrome/renderer/pepper/ppb_nacl_private_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698