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

Side by Side Diff: chrome/renderer/pepper/ppb_pdf_impl.h

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_PEPPER_PPB_PDF_IMPL_H_
6 #define CHROME_RENDERER_PEPPER_PPB_PDF_IMPL_H_
7
8 #include "ppapi/c/pp_instance.h"
9
10 struct PPB_PDF;
11
12 class PPB_PDF_Impl {
13 public:
14 // Returns a pointer to the interface implementing PPB_PDF that is exposed
15 // to the plugin.
16 static const PPB_PDF* GetInterface();
17
18 // Invokes the "Print" command for the given instance as if the user right
19 // clicked on it and selected "Print".
20 static void InvokePrintingForInstance(PP_Instance instance);
21 };
22
23 #endif // CHROME_RENDERER_PEPPER_PPB_PDF_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698