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

Unified Diff: chrome/renderer/pepper/ppb_pdf_impl.h

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_nacl_private_impl.cc ('k') | chrome/renderer/pepper/ppb_pdf_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper/ppb_pdf_impl.h
diff --git a/chrome/renderer/pepper/ppb_pdf_impl.h b/chrome/renderer/pepper/ppb_pdf_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..4c4bfe0d4b7d53eb32260079e1377eaf95481014
--- /dev/null
+++ b/chrome/renderer/pepper/ppb_pdf_impl.h
@@ -0,0 +1,24 @@
+// 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.
+
+#ifndef CHROME_RENDERER_PEPPER_PPB_PDF_IMPL_H_
+#define CHROME_RENDERER_PEPPER_PPB_PDF_IMPL_H_
+
+#include "ppapi/c/pp_instance.h"
+
+struct PPB_PDF;
+
+class PPB_PDF_Impl {
+ public:
+ // Returns a pointer to the interface implementing PPB_PDF that is exposed
+ // to the plugin.
+ static const PPB_PDF* GetInterface();
+
+ // Invokes the "Print" command for the given instance as if the user right
+ // clicked on it and selected "Print".
+ static void InvokePrintingForInstance(PP_Instance instance);
+};
+
+#endif // CHROME_RENDERER_PEPPER_PPB_PDF_IMPL_H_
+
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | chrome/renderer/pepper/ppb_pdf_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698