| 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_
|
| +
|
|
|