| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_CLIENT_H_ |
| 6 #define CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_CLIENT_H_ | 6 #define CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/pdf/renderer/ppb_pdf_impl.h" | 9 #include "components/pdf/renderer/pepper_pdf_host.h" |
| 10 | 10 |
| 11 class ChromePDFPrintClient : public pdf::PPB_PDF_Impl::PrintClient { | 11 class ChromePDFPrintClient : public pdf::PepperPDFHost::PrintClient { |
| 12 public: | 12 public: |
| 13 ChromePDFPrintClient(); | 13 ChromePDFPrintClient(); |
| 14 ~ChromePDFPrintClient() override; | 14 ~ChromePDFPrintClient() override; |
| 15 | 15 |
| 16 private: | 16 private: |
| 17 // pdf::PPB_PDF_Impl::PrintClient: | 17 // pdf::PepperPDFHost::PrintClient: |
| 18 bool IsPrintingEnabled(PP_Instance instance_id) override; | 18 bool IsPrintingEnabled(PP_Instance instance_id) override; |
| 19 bool Print(PP_Instance instance_id) override; | 19 bool Print(PP_Instance instance_id) override; |
| 20 | 20 |
| 21 DISALLOW_COPY_AND_ASSIGN(ChromePDFPrintClient); | 21 DISALLOW_COPY_AND_ASSIGN(ChromePDFPrintClient); |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 #endif // CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_CLIENT_H_ | 24 #endif // CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_CLIENT_H_ |
| OLD | NEW |