mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
linux: Fix component build errors (fixes issue #3424)
This commit is contained in:
committed by
Marshall Greenblatt
parent
b1a530c76a
commit
aae420aa8b
@@ -14,7 +14,7 @@
|
||||
#include "base/task/sequenced_task_runner_helpers.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "printing/print_dialog_linux_interface.h"
|
||||
#include "printing/printing_context_linux.h"
|
||||
#include "ui/linux/linux_ui.h"
|
||||
|
||||
namespace printing {
|
||||
class MetafilePlayer;
|
||||
@@ -24,7 +24,7 @@ class PrintSettings;
|
||||
using printing::PrintingContextLinux;
|
||||
|
||||
class CefPrintingContextLinuxDelegate
|
||||
: public printing::PrintingContextLinuxDelegate {
|
||||
: public ui::PrintingContextLinuxDelegate {
|
||||
public:
|
||||
CefPrintingContextLinuxDelegate();
|
||||
|
||||
@@ -37,10 +37,10 @@ class CefPrintingContextLinuxDelegate
|
||||
printing::PrintingContextLinux* context) override;
|
||||
gfx::Size GetPdfPaperSize(printing::PrintingContextLinux* context) override;
|
||||
|
||||
void SetDefaultDelegate(printing::PrintingContextLinuxDelegate* delegate);
|
||||
void SetDefaultDelegate(ui::PrintingContextLinuxDelegate* delegate);
|
||||
|
||||
private:
|
||||
printing::PrintingContextLinuxDelegate* default_delegate_ = nullptr;
|
||||
ui::PrintingContextLinuxDelegate* default_delegate_ = nullptr;
|
||||
};
|
||||
|
||||
// Needs to be freed on the UI thread to clean up its member variables.
|
||||
|
Reference in New Issue
Block a user