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

Side by Side Diff: pdf/out_of_process_instance.h

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 (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
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 GetNumCopies() OVERRIDE;
Vitaly Buka (NO REVIEWS) 2014/07/10 01:13:05 name it's just a function of the plugin interface,
Nikhil 2014/07/16 13:52:55 Done.
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698