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_OUT_OF_PROCESS_INSTANCE_H_ | 5 #ifndef PDF_OUT_OF_PROCESS_INSTANCE_H_ |
6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_ | 6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 // pp::Printing_Dev implementation. | 67 // pp::Printing_Dev implementation. |
68 virtual uint32_t QuerySupportedPrintOutputFormats() OVERRIDE; | 68 virtual uint32_t QuerySupportedPrintOutputFormats() OVERRIDE; |
69 virtual int32_t PrintBegin( | 69 virtual int32_t PrintBegin( |
70 const PP_PrintSettings_Dev& print_settings) OVERRIDE; | 70 const PP_PrintSettings_Dev& print_settings) OVERRIDE; |
71 virtual pp::Resource PrintPages( | 71 virtual pp::Resource PrintPages( |
72 const PP_PrintPageNumberRange_Dev* page_ranges, | 72 const PP_PrintPageNumberRange_Dev* page_ranges, |
73 uint32_t page_range_count) OVERRIDE; | 73 uint32_t page_range_count) OVERRIDE; |
74 virtual void PrintEnd() OVERRIDE; | 74 virtual void PrintEnd() OVERRIDE; |
75 virtual bool IsPrintScalingDisabled() OVERRIDE; | 75 virtual bool IsPrintScalingDisabled() OVERRIDE; |
| 76 virtual int32_t GetCopiesToPrint() OVERRIDE; |
76 | 77 |
77 // pp::Private implementation. | 78 // pp::Private implementation. |
78 virtual pp::Var GetLinkAtPosition(const pp::Point& point); | 79 virtual pp::Var GetLinkAtPosition(const pp::Point& point); |
79 | 80 |
80 // PPP_Selection_Dev implementation. | 81 // PPP_Selection_Dev implementation. |
81 virtual pp::Var GetSelectedText(bool html) OVERRIDE; | 82 virtual pp::Var GetSelectedText(bool html) OVERRIDE; |
82 | 83 |
83 void FlushCallback(int32_t result); | 84 void FlushCallback(int32_t result); |
84 void DidOpen(int32_t result); | 85 void DidOpen(int32_t result); |
85 void DidOpenPreview(int32_t result); | 86 void DidOpenPreview(int32_t result); |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 // zooming the plugin so that flickering doesn't occur while zooming. | 337 // zooming the plugin so that flickering doesn't occur while zooming. |
337 bool stop_scrolling_; | 338 bool stop_scrolling_; |
338 | 339 |
339 // The callback for receiving the password from the page. | 340 // The callback for receiving the password from the page. |
340 scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_; | 341 scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_; |
341 }; | 342 }; |
342 | 343 |
343 } // namespace chrome_pdf | 344 } // namespace chrome_pdf |
344 | 345 |
345 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 346 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
OLD | NEW |