| Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| index 5ff8fb4dd55d968638b1848652e42b62fa151d73..51befdec5b5496631a8f2f7d37396a3daa93ad1d 100644
|
| --- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| +++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| @@ -175,6 +175,9 @@ class PrintPreviewHandler
|
| // preview is displayed.
|
| void HandleGetInitialSettings(const base::ListValue* args);
|
|
|
| + // Asks the browser for the PDF printer capabilities, such as media size.
|
| + void HandleGetPdfCapabilities(const base::ListValue* args);
|
| +
|
| // Reports histogram data for a print preview UI action. |args| should consist
|
| // of two elements: the bucket name, and the bucket event.
|
| void HandleReportUiEvent(const base::ListValue* args);
|
| @@ -192,6 +195,9 @@ class PrintPreviewHandler
|
|
|
| void SendInitialSettings(const std::string& default_printer);
|
|
|
| + // Sends PDF printer capabilities to the Web UI.
|
| + void SendPdfCapabilities(const base::DictionaryValue* capabilities);
|
| +
|
| // Send OAuth2 access token.
|
| void SendAccessToken(const std::string& type,
|
| const std::string& access_token);
|
|
|