Chromium Code Reviews| Index: ppapi/cpp/dev/printing_dev.h |
| diff --git a/ppapi/cpp/dev/printing_dev.h b/ppapi/cpp/dev/printing_dev.h |
| index 734015f4d3d72b1fce816c59c000135dfd4ff998..608d41924e0f3991fad56eeff3e31808b80e4b1f 100644 |
| --- a/ppapi/cpp/dev/printing_dev.h |
| +++ b/ppapi/cpp/dev/printing_dev.h |
| @@ -30,6 +30,12 @@ class Printing_Dev { |
| virtual void PrintEnd() = 0; |
| virtual bool IsPrintScalingDisabled() = 0; |
| + // PPB_Printing_Dev functions. |
| + // Outputs the default print settings for the default printer into |
| + // |print_settings|. Returns false on error. |
| + static bool GetDefaultPrintSettings(const InstanceHandle& instance, |
|
yzshen1
2012/06/12 23:14:34
Can it be a non-static method of this class?
raymes
2012/06/13 18:23:46
Done.
|
| + PP_PrintSettings_Dev* print_settings); |
| + |
| private: |
| InstanceHandle associated_instance_; |
| }; |