OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 PDF_INSTANCE_H_ | 5 #ifndef PDF_INSTANCE_H_ |
6 #define PDF_INSTANCE_H_ | 6 #define PDF_INSTANCE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 // pp::Printing_Dev implementation. | 81 // pp::Printing_Dev implementation. |
82 virtual uint32_t QuerySupportedPrintOutputFormats() OVERRIDE; | 82 virtual uint32_t QuerySupportedPrintOutputFormats() OVERRIDE; |
83 virtual int32_t PrintBegin( | 83 virtual int32_t PrintBegin( |
84 const PP_PrintSettings_Dev& print_settings) OVERRIDE; | 84 const PP_PrintSettings_Dev& print_settings) OVERRIDE; |
85 virtual pp::Resource PrintPages( | 85 virtual pp::Resource PrintPages( |
86 const PP_PrintPageNumberRange_Dev* page_ranges, | 86 const PP_PrintPageNumberRange_Dev* page_ranges, |
87 uint32_t page_range_count) OVERRIDE; | 87 uint32_t page_range_count) OVERRIDE; |
88 virtual void PrintEnd() OVERRIDE; | 88 virtual void PrintEnd() OVERRIDE; |
89 virtual bool IsPrintScalingDisabled() OVERRIDE; | 89 virtual bool IsPrintScalingDisabled() OVERRIDE; |
| 90 virtual int32_t GetCopiesToPrint() OVERRIDE; |
90 | 91 |
91 // pp::Private implementation. | 92 // pp::Private implementation. |
92 virtual pp::Var GetLinkAtPosition(const pp::Point& point); | 93 virtual pp::Var GetLinkAtPosition(const pp::Point& point); |
93 | 94 |
94 // PPP_Selection_Dev implementation. | 95 // PPP_Selection_Dev implementation. |
95 virtual pp::Var GetSelectedText(bool html) OVERRIDE; | 96 virtual pp::Var GetSelectedText(bool html) OVERRIDE; |
96 | 97 |
97 // WidgetClient_Dev implementation. | 98 // WidgetClient_Dev implementation. |
98 virtual void InvalidateWidget(pp::Widget_Dev widget, | 99 virtual void InvalidateWidget(pp::Widget_Dev widget, |
99 const pp::Rect& dirty_rect) OVERRIDE; | 100 const pp::Rect& dirty_rect) OVERRIDE; |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 const std::vector<pp::Var>& args, | 518 const std::vector<pp::Var>& args, |
518 pp::Var* exception); | 519 pp::Var* exception); |
519 | 520 |
520 private: | 521 private: |
521 Instance* instance_; | 522 Instance* instance_; |
522 }; | 523 }; |
523 | 524 |
524 } // namespace chrome_pdf | 525 } // namespace chrome_pdf |
525 | 526 |
526 #endif // PDF_INSTANCE_H_ | 527 #endif // PDF_INSTANCE_H_ |
OLD | NEW |