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

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

Issue 505243003: pdf: Move PepperPDFHost into the pdf component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf-component
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
OLDNEW
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_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_DELEGATE_H_
6 #define CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_DELEGATE_H_ 6 #define CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_DELEGATE_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/ppb_pdf_impl.h"
10 10
11 class ChromePDFPrintDelegate : public pdf::PPB_PDF_Impl::PrintDelegate { 11 class ChromePDFPrintDelegate : public pdf::PPB_PDF_Impl::PrintDelegate {
12 public: 12 public:
13 ChromePDFPrintDelegate(); 13 ChromePDFPrintDelegate();
14 virtual ~ChromePDFPrintDelegate(); 14 virtual ~ChromePDFPrintDelegate();
15 15
16 private: 16 private:
17 // pdf::PPB_PDF_Impl::PrintDelegate: 17 // pdf::PPB_PDF_Impl::PrintDelegate:
18 virtual bool IsPrintingEnabled(PP_Instance instance_id) OVERRIDE; 18 virtual bool IsPrintingEnabled(PP_Instance instance_id) OVERRIDE;
19 virtual void Print(PP_Instance instance_id) OVERRIDE; 19 virtual bool Print(PP_Instance instance_id) OVERRIDE;
20 20
21 DISALLOW_COPY_AND_ASSIGN(ChromePDFPrintDelegate); 21 DISALLOW_COPY_AND_ASSIGN(ChromePDFPrintDelegate);
22 }; 22 };
23 23
24 #endif // CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_DELEGATE_H_ 24 #endif // CHROME_RENDERER_PEPPER_CHROME_PDF_PRINT_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698