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

Unified Diff: chrome/renderer/pepper/ppb_flash_print_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
Index: chrome/renderer/pepper/ppb_flash_print_impl.h
diff --git a/chrome/renderer/pepper/ppb_flash_print_impl.h b/chrome/renderer/pepper/ppb_flash_print_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..78b702f7c934f9a430923f702db8e03da7e65106
--- /dev/null
+++ b/chrome/renderer/pepper/ppb_flash_print_impl.h
@@ -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.
+
+#ifndef CHROME_RENDERER_PEPPER_PPB_FLASH_PRINT_IMPL_H_
+#define CHROME_RENDERER_PEPPER_PPB_FLASH_PRINT_IMPL_H_
+
+#include "ppapi/c/pp_instance.h"
+
+struct PPB_Flash_Print_1_0;
+
+class PPB_Flash_Print_Impl {
+ public:
+ static const PPB_Flash_Print_1_0* 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_FLASH_PRINT_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698