diff options
Diffstat (limited to 'chromium/chrome/browser/resources/print_preview/cloud_print_interface_native.js')
-rw-r--r-- | chromium/chrome/browser/resources/print_preview/cloud_print_interface_native.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/print_preview/cloud_print_interface_native.js b/chromium/chrome/browser/resources/print_preview/cloud_print_interface_native.js new file mode 100644 index 00000000000..808b8e1800a --- /dev/null +++ b/chromium/chrome/browser/resources/print_preview/cloud_print_interface_native.js @@ -0,0 +1,38 @@ +// Copyright 2018 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +cr.define('cloudprint', function() { + 'use strict'; + + /** @implements {cloudprint.CloudPrintInterface} */ + class CloudPrintInterfaceNative { + constructor() {} + + /** @override */ + isCloudDestinationSearchInProgress() {} + + /** @override */ + getEventTarget() {} + + /** @override */ + search(opt_account, opt_origin) {} + + /** @override */ + invites(account) {} + + /** @override */ + processInvite(invitation, accept) {} + + /** @override */ + submit(destination, printTicket, documentInfo, data) {} + + /** @override */ + printer(printerId, origin, account) {} + } + + // Export + return { + CloudPrintInterfaceNative: CloudPrintInterfaceNative, + }; +}); |