Home | History | Annotate | Download | only in pepper
      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_
     24 
     25