mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 91.0.4472.0 (#870763)
This commit is contained in:
@@ -186,7 +186,7 @@ void CefPrintDialogLinux::ShowDialog(
|
||||
|
||||
void CefPrintDialogLinux::PrintDocument(
|
||||
const printing::MetafilePlayer& metafile,
|
||||
const base::string16& document_name) {
|
||||
const std::u16string& document_name) {
|
||||
// This runs on the print worker thread, does not block the UI thread.
|
||||
DCHECK(!CEF_CURRENTLY_ON_UIT());
|
||||
|
||||
@@ -260,7 +260,7 @@ bool CefPrintDialogLinux::UpdateSettings(
|
||||
}
|
||||
|
||||
void CefPrintDialogLinux::SendDocumentToPrinter(
|
||||
const base::string16& document_name) {
|
||||
const std::u16string& document_name) {
|
||||
CEF_REQUIRE_UIT();
|
||||
|
||||
if (!handler_.get()) {
|
||||
|
@@ -49,7 +49,7 @@ class CefPrintDialogLinux : public printing::PrintDialogGtkInterface,
|
||||
bool has_selection,
|
||||
PrintingContextLinux::PrintSettingsCallback callback) override;
|
||||
void PrintDocument(const printing::MetafilePlayer& metafile,
|
||||
const base::string16& document_name) override;
|
||||
const std::u16string& document_name) override;
|
||||
void AddRefToDialog() override;
|
||||
void ReleaseDialog() override;
|
||||
|
||||
@@ -73,7 +73,7 @@ class CefPrintDialogLinux : public printing::PrintDialogGtkInterface,
|
||||
bool get_defaults);
|
||||
|
||||
// Prints document named |document_name|.
|
||||
void SendDocumentToPrinter(const base::string16& document_name);
|
||||
void SendDocumentToPrinter(const std::u16string& document_name);
|
||||
|
||||
// Handles print dialog response.
|
||||
void OnPrintContinue(CefRefPtr<CefPrintSettings> settings);
|
||||
|
Reference in New Issue
Block a user