0
Go to file
Alan Screen 1c9980191f Add service-based usage to start printing
Incorporate usage of StartPrinting() from within the Print Backend
service utility for Windows, macOS, Linux, and ChromeOS.  Testing
coverage currently covers only Windows, macOS, and Linux.

Adjust PrintUpdateSettings() to cache the print target type from the
job settings.  This is needed by the later call to StartPrinting(),
since the deferred actions of PrintingContext::UpdatePrinterSettings()
are not done in the service until StartPrinting() time.

Include registration with the PrintBackendServiceManager so that the
Print Backend process does not get terminated if there is a short
amount of idleness between printing operations for this job.  Only
include unregister logic for failure case, since the printing success
case logic comes later in https://crrev.com/c/3199044.

Add ability for TestPrintingContext to respond with access-denied error
for NewDocument() to enable testing of StartPrinting() fallback retry
logic.

Bug: 809738
Change-Id: I3713e59de44dba3f45eeb0921bd7adbb6eab2514
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3180059
Commit-Queue: Alan Screen <awscreen@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#946875}
2021-12-01 05:48:27 +00:00
2021-12-01 03:11:59 +00:00
2021-11-30 04:21:09 +00:00
2021-11-30 04:21:09 +00:00
2021-11-30 04:21:09 +00:00
2021-11-30 04:21:09 +00:00
2021-12-01 04:33:21 +00:00
2021-12-01 04:43:36 +00:00
2021-11-30 17:53:21 +00:00
2021-11-15 18:58:52 +00:00
2021-11-30 04:21:09 +00:00

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure .

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

If you found a bug, please file it at https://crbug.com/new.

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%