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

Side by Side Diff: pdf/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_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
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 GetNumCopies() OVERRIDE;
Vitaly Buka (NO REVIEWS) 2014/07/10 01:13:05 Name
Nikhil 2014/07/16 13:52:55 Done.
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698